first commit
This commit is contained in:
17
tests/Feature/RouteTest.php
Normal file
17
tests/Feature/RouteTest.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
test('available routes', function ($url) {
|
||||
$response = $this->get($url);
|
||||
|
||||
$response->assertStatus(200);
|
||||
})->with('routes');
|
||||
|
||||
test('available auth routes', function ($url) {
|
||||
$user = \App\Models\User::find(1);
|
||||
|
||||
$this->actingAs($user);
|
||||
|
||||
$response = $this->get($url);
|
||||
|
||||
$response->assertStatus(200);
|
||||
})->with('authroutes');
|
||||
Reference in New Issue
Block a user