mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
test groups refactoring
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace Tests\Feature\Accounts;
|
||||
|
||||
use App\Models\Setting;
|
||||
use App\Models\User;
|
||||
use Domain\Settings\Models\Setting;
|
||||
use Domain\Settings\Models\User;
|
||||
use App\Notifications\ResetPassword;
|
||||
use Illuminate\Auth\Notifications\VerifyEmail;
|
||||
use Illuminate\Support\Facades\Password;
|
||||
@@ -107,9 +107,9 @@ class SignFlowTest extends TestCase
|
||||
$user = User::factory(User::class)
|
||||
->create();
|
||||
|
||||
Sanctum::actingAs($user);
|
||||
|
||||
$this->postJson('/logout')
|
||||
$this
|
||||
->actingAs($user)
|
||||
->postJson('/logout')
|
||||
->assertStatus(204);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user