Leonid Nikitin
b7d0a2453e
Otherwise phpstorm doesn't understand the paths correctly. He thinks that this is not a complete application, but a package. And when creating a class, the namespace indicates “app” with a small letter, but should be “App”.
20 lines
359 B
PHP
20 lines
359 B
PHP
<?php
|
|
|
|
namespace Tests\Feature;
|
|
|
|
// use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use Tests\TestCase;
|
|
|
|
class ExampleTest extends TestCase
|
|
{
|
|
/**
|
|
* A basic test example.
|
|
*/
|
|
public function test_the_application_returns_a_successful_response(): void
|
|
{
|
|
$response = $this->get('/');
|
|
|
|
$response->assertStatus(200);
|
|
}
|
|
}
|