Timeline for Silex web test fails
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 14, 2018 at 22:37 | answer | added | Anton Pelykh | timeline score: 1 | |
S Jan 13, 2018 at 13:10 | history | suggested | David Oliver |
Corrected framework tag
|
|
Jan 13, 2018 at 10:17 | review | Suggested edits | |||
S Jan 13, 2018 at 13:10 | |||||
Jan 12, 2018 at 12:15 | comment | added | nullException | 1) App\Tests\BlogControllerTest::testInitialPage TypeError: Argument 1 passed to Symfony\Component\HttpKernel\Client::__construct() must implement interface Symfony\Component\HttpKernel\HttpKernelInterface, null given, called in C:\vendor\silex\silex\src\Silex\WebTestCase.php on line 63 C:\vendor\symfony\http-kernel\Client.php:42 C:\vendor\silex\silex\src\Silex\WebTestCase.php:63 C:\tests\CarType\CarTypeControllerTest.php:15 | |
Jan 12, 2018 at 11:24 | comment | added | Edwin |
which exactly is line 63? is it the createClient() ? Then it is like what the error says, you have to add a parameter to the function that implements HttpKernelInterface (or a mock)
|
|
S Jan 12, 2018 at 11:22 | review | Triage | |||
Jan 12, 2018 at 11:34 | |||||
S Jan 12, 2018 at 11:22 | history | asked | nullException | CC BY-SA 3.0 |