test detached backend root
Require the backend root to remain unclaimed by a frontend response. The standalone Vue application owns its own development and delivery path.
This commit is contained in:
parent
2b53e2b8ac
commit
c176be3536
1 changed files with 3 additions and 6 deletions
|
|
@ -2,17 +2,14 @@
|
|||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Tests\TestCase;
|
||||
|
||||
class ExampleTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
public function test_returns_a_successful_response()
|
||||
public function test_root_does_not_serve_a_frontend(): void
|
||||
{
|
||||
$response = $this->get(route('home'));
|
||||
$response = $this->get('/');
|
||||
|
||||
$response->assertOk();
|
||||
$response->assertNotFound();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue