Skip to content

Instantly share code, notes, and snippets.

@marcoalbarelli
Created June 6, 2016 07:27
Show Gist options
  • Save marcoalbarelli/f10b6407ce3c230b8b9feb842e5308b9 to your computer and use it in GitHub Desktop.
Save marcoalbarelli/f10b6407ce3c230b8b9feb842e5308b9 to your computer and use it in GitHub Desktop.
PHPUnit 4.8.26 by Sebastian Bergmann and contributors.
EE.EEF
Time: 95 ms, Memory: 5.75MB
There were 4 errors:
1) Bazinga\Bundle\HateoasBundle\Tests\DependencyInjection\BazingaHateoasExtensionTest::testLoad
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: You cannot set service "service_container".
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/vendor/symfony/dependency-injection/Container.php:167
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/vendor/symfony/dependency-injection/ContainerBuilder.php:368
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/Tests/DependencyInjection/BazingaHateoasExtensionTest.php:191
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/Tests/DependencyInjection/BazingaHateoasExtensionTest.php:33
2) Bazinga\Bundle\HateoasBundle\Tests\DependencyInjection\BazingaHateoasExtensionTest::testRelationProviderPassInvalidProvider
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: You cannot set service "service_container".
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/vendor/symfony/dependency-injection/Container.php:167
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/vendor/symfony/dependency-injection/ContainerBuilder.php:368
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/Tests/DependencyInjection/BazingaHateoasExtensionTest.php:191
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/Tests/DependencyInjection/BazingaHateoasExtensionTest.php:57
3) Bazinga\Bundle\HateoasBundle\Tests\DependencyInjection\BazingaHateoasExtensionTest::testLoadUrlGenerator
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: You cannot set service "service_container".
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/vendor/symfony/dependency-injection/Container.php:167
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/vendor/symfony/dependency-injection/ContainerBuilder.php:368
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/Tests/DependencyInjection/BazingaHateoasExtensionTest.php:191
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/Tests/DependencyInjection/BazingaHateoasExtensionTest.php:78
4) Bazinga\Bundle\HateoasBundle\Tests\DependencyInjection\BazingaHateoasExtensionTest::testLoadSerializer
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: You cannot set service "service_container".
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/vendor/symfony/dependency-injection/Container.php:167
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/vendor/symfony/dependency-injection/ContainerBuilder.php:368
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/Tests/DependencyInjection/BazingaHateoasExtensionTest.php:191
/home/marco/PhpstormProjects/someVeryNiceProject/vendor/willdurand/hateoas-bundle/Bazinga/Bundle/HateoasBundle/Tests/DependencyInjection/BazingaHateoasExtensionTest.php:100
--
There was 1 failure:
1) Bazinga\Bundle\HateoasBundle\Tests\DependencyInjection\BazingaHateoasExtensionTest::testLoadInvalidExpressionFunction
Failed asserting that exception message 'You cannot set service "service_container".' contains 'Service invalid_expression_function tagged with hateoas.expression_function must implement Hateoas\Expression\ExpressionFunctionInterface'.
FAILURES!
Tests: 6, Assertions: 3, Errors: 4, Failures: 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment