| 1 | <?php |
||
| 14 | class ApplicationAvailabilityFunctionalTest extends WebTestCase |
||
|
|
|||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @dataProvider urlProvider |
||
| 18 | */ |
||
| 19 | public function _s34_testPageIsSuccessful($url) |
||
| 20 | { |
||
| 21 | $client = self::createClient(); |
||
| 22 | $client->request('GET', $url); |
||
| 23 | |||
| 24 | $this->assertTrue($client->getResponse()->isSuccessful()); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function urlProvider() |
||
| 35 | } |
||
| 36 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.