| 1 | <?php |
||
| 7 | class DefaultControllerTest extends WebTestCase |
||
| 8 | { |
||
| 9 | public function testIndex() |
||
| 10 | { |
||
| 11 | exec('./bin/console d:d:c --env=test'); |
||
| 12 | exec('./bin/console d:s:c --env=test'); |
||
| 13 | exec('./bin/console h:f:l -n --env=test'); |
||
| 14 | |||
| 15 | $client = static::createClient(); |
||
| 16 | |||
| 17 | $crawler = $client->request('GET', '/login'); |
||
| 18 | |||
| 19 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); |
||
| 20 | |||
| 21 | $this->assertCount(3, $crawler->filter('input')); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function testUpdatePassword() |
||
| 38 | } |
||
| 39 |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: