| 1 | <?php |
||
| 3 | class TestCase extends Illuminate\Foundation\Testing\TestCase |
||
|
|
|||
| 4 | { |
||
| 5 | /** |
||
| 6 | * The base URL to use while testing the application. |
||
| 7 | * |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $baseUrl = 'http://localhost'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Creates the application. |
||
| 14 | * |
||
| 15 | * @return \Illuminate\Foundation\Application |
||
| 16 | */ |
||
| 17 | public function createApplication() |
||
| 25 | } |
||
| 26 |
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.