cassell:beeriously cassell$ docker run --rm --interactive --tty --network beeriously_default --volume `pwd`:/app
--user : --workdir /app beeriously_php-fpm /app/vendor/bin/phpunit --configuration /app/src/Tests/Unit/
phpunit.xml.dist
PHPUnit 6.4.3 by Sebastian Bergmann and contributors.
FEE 3 / 3 (100%)
Time: 2.34 seconds, Memory: 4.00MB
There were 2 errors:
1) Beeriously\Tests\Unit\Domain\Recipe\RecipeNameTest::testGetter
Error: Class 'Beeriously\Domain\Recipe\RecipeName' not found
/app/src/Tests/Unit/Domain/Recipe/RecipeNameTest.php:20
2) Beeriously\Tests\Unit\Domain\Recipe\RecipeNameTest::testToString
Error: Class 'Beeriously\Domain\Recipe\RecipeName' not found
/app/src/Tests/Unit/Domain/Recipe/RecipeNameTest.php:26
--
There was 1 failure:
1) Beeriously\Tests\Unit\Domain\Recipe\RecipeNameTest::testEmptyFails
Failed asserting that exception of type "Error" matches expected exception
"Beeriously\Domain\Recipe\InvalidRecipeNameException". Message was: "Class 'Beeriously\Domain\Recipe\RecipeName'
not found" at
/app/src/Tests/Unit/Domain/Recipe/RecipeNameTest.php:15
.
ERRORS!
Tests: 3, Assertions: 1, Errors: 2, Failures: 1.