| 1 | <?php |
||
| 3 | class HomePageTest extends TestCase { |
||
|
|
|||
| 4 | |||
| 5 | /** |
||
| 6 | * Test Home Page Redirects |
||
| 7 | * |
||
| 8 | */ |
||
| 9 | public function testHomePageRedirects() |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Test Introduction Page loads correctly |
||
| 18 | * |
||
| 19 | */ |
||
| 20 | public function testIntroductionPage() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Test redirect on file not found |
||
| 31 | * |
||
| 32 | */ |
||
| 33 | public function testRedirectOnFileNotFound() |
||
| 39 | } |
||
| 40 |
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.