Advertisement
Guest User

Untitled

a guest
Dec 6th, 2020
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.65 KB | None | 0 0
  1. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity>php bin/phpunit
  2. PHPUnit 7.5.20 by Sebastian Bergmann and contributors.
  3.  
  4. Testing Project Test Suite
  5. E 1 / 1 (100%)
  6.  
  7. Time: 275 ms, Memory: 10.00 MB
  8.  
  9. There was 1 error:
  10.  
  11. 1) App\Tests\Functional\CheeseListingResourceTest::testCreateCheeseListing
  12. Symfony\Component\Config\Exception\LoaderLoadException: Declaration of App\ApiPlatform\Test\Constraint\ArraySubset::evaluate($other, string $description = '', bool $returnResult = false) should be compatible with PHPUnit\Framework\C
  13. onstraint\Constraint::evaluate($other, $description = '', $returnResult = false) in D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\config/services.yaml (which is loaded in resource "D:\Users\Gediminas\Desktop\Symfony\sy
  14. mfonycasts5apisecurity\config/services.yaml").
  15.  
  16. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\config\Loader\FileLoader.php:166
  17. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\config\Loader\FileLoader.php:90
  18. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\dependency-injection\Loader\GlobFileLoader.php:27
  19. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\config\Loader\DelegatingLoader.php:40
  20. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\src\Kernel.php:41
  21. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\framework-bundle\Kernel\MicroKernelTrait.php:80
  22. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\dependency-injection\Loader\ClosureLoader.php:38
  23. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\config\Loader\DelegatingLoader.php:40
  24. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\framework-bundle\Kernel\MicroKernelTrait.php:83
  25. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\http-kernel\Kernel.php:658
  26. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\http-kernel\Kernel.php:549
  27. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\http-kernel\Kernel.php:133
  28. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\framework-bundle\Test\KernelTestCase.php:74
  29. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\src\ApiPlatform\Test\ApiTestCase.php:50
  30. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\tests\Functional\CheeseListingResourceTest.php:13
  31.  
  32. Caused by
  33. PHPUnit\Framework\Error\Warning: Declaration of App\ApiPlatform\Test\Constraint\ArraySubset::evaluate($other, string $description = '', bool $returnResult = false) should be compatible with PHPUnit\Framework\Constraint\Constraint::e
  34. valuate($other, $description = '', $returnResult = false)
  35.  
  36. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\src\ApiPlatform\Test\Constraint\ArraySubset.php:62
  37. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\src\ApiPlatform\Test\Constraint\ArraySubset.php:34
  38. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\debug\DebugClassLoader.php:160
  39. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\config\Resource\ClassExistenceResource.php:78
  40. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\dependency-injection\ContainerBuilder.php:353
  41. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\dependency-injection\Loader\FileLoader.php:151
  42. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\dependency-injection\Loader\FileLoader.php:57
  43. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\dependency-injection\Loader\YamlFileLoader.php:568
  44. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\dependency-injection\Loader\YamlFileLoader.php:229
  45. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\dependency-injection\Loader\YamlFileLoader.php:150
  46. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\config\Loader\FileLoader.php:151
  47. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\config\Loader\FileLoader.php:90
  48. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\dependency-injection\Loader\GlobFileLoader.php:27
  49. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\config\Loader\DelegatingLoader.php:40
  50. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\src\Kernel.php:41
  51. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\framework-bundle\Kernel\MicroKernelTrait.php:80
  52. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\dependency-injection\Loader\ClosureLoader.php:38
  53. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\config\Loader\DelegatingLoader.php:40
  54. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\framework-bundle\Kernel\MicroKernelTrait.php:83
  55. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\http-kernel\Kernel.php:658
  56. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\http-kernel\Kernel.php:549
  57. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\http-kernel\Kernel.php:133
  58. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\vendor\symfony\framework-bundle\Test\KernelTestCase.php:74
  59. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\src\ApiPlatform\Test\ApiTestCase.php:50
  60. D:\Users\Gediminas\Desktop\Symfony\symfonycasts5apisecurity\tests\Functional\CheeseListingResourceTest.php:13
  61.  
  62. ERRORS!
  63. Tests: 1, Assertions: 0, Errors: 1.
  64.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement