Skip to content

Commit c9c623a

Browse files
viralsolaniStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent fcc0c35 commit c9c623a

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

tests/Feature/Api/V1/LoginTest.php

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,22 @@
22

33
namespace Tests\Feature\Api\V1;
44

5-
use Tests\TestCase;
6-
use App\Models\Access\User\User;
75
use Illuminate\Support\Facades\Auth;
8-
use Illuminate\Support\Facades\Event;
9-
use App\Events\Frontend\Auth\UserLoggedIn;
6+
use Tests\TestCase;
107

11-
class AuthTest extends TestCase
8+
class LoginTest extends TestCase
129
{
1310
/** @test */
1411
public function users_can_login_through_api()
1512
{
1613
$res = $this->json('POST', '/api/v1/auth/login', [
17-
'email' => $this->user->email,
18-
'password' => '1234'
14+
'email' => $this->user->email,
15+
'password' => '1234',
1916
])
2017
->assertStatus(200)
2118
->assertJsonStructure([
2219
'message',
23-
'token'
20+
'token',
2421
]);
2522
}
2623
}

0 commit comments

Comments
 (0)