Closed
Description
Hello. Due to implementing test case i faced some problem:
❯ php bin/phpunit
PHPUnit 8.2.5 by Sebastian Bergmann and contributors.
Testing Project Test Suite
E 1 / 1 (100%)
Time: 5.59 seconds, Memory: 50.25 MB
There was 1 error:
1) App\Tests\Functional\FooResourceTest::testCreateFoo
TypeError: Argument 1 passed to ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Client::__construct() must be an instance of Symfony\Bundle\FrameworkBundle\KernelBrowser, instance of Symfony\Bundle\FrameworkBundle\Client given, called in /Projects/ProjectName/var/cache/test/ContainerGLLQM1K/getTest_ApiPlatform_ClientService.php on line 19
Actually i don't know what is wrong with my configs. I have Api platform 2.5 and symfony 4.3
Regards,
Alexander
Metadata
Metadata
Assignees
Labels
No labels