test groups refactoring

This commit is contained in:
Peter Papp
2021-07-18 16:53:12 +02:00
parent 18150cd920
commit a1778eab52
83 changed files with 1482 additions and 1421 deletions

View File

@@ -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);
}