Skip to content

Commit c0b5d58

Browse files
daniel-cintragithub-actions[bot]
authored andcommitted
Fix styling
1 parent 83527ef commit c0b5d58

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

stubs/tests/Feature/Auth/PasswordResetTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Modules\User\Models\User;
43
use Illuminate\Support\Facades\Notification;
54
use Modules\AdminAuth\Notifications\ResetPassword as AdminAuthResetPassword;
5+
use Modules\User\Models\User;
66

77
test('reset password link screen can be rendered', function () {
88
$response = $this->get('/admin-auth/forgot-password');
@@ -28,7 +28,7 @@
2828
$this->post('/admin-auth/send-reset-link-email', ['email' => $user->email]);
2929

3030
Notification::assertSentTo($user, AdminAuthResetPassword::class, function ($notification) {
31-
$response = $this->get('/admin-auth/reset-password/' . $notification->token);
31+
$response = $this->get('/admin-auth/reset-password/'.$notification->token);
3232

3333
$response->assertStatus(200);
3434

stubs/tests/Feature/Permission/GetUserPermissionTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3+
use Modules\Acl\Services\GetUserPermissions;
34
use Modules\User\Models\User;
4-
use Spatie\Permission\Models\Role;
55
use Spatie\Permission\Models\Permission;
6-
use Modules\Acl\Services\GetUserPermissions;
6+
use Spatie\Permission\Models\Role;
77

88
beforeEach(function () {
99
$this->user = User::factory()->create();
@@ -42,7 +42,6 @@
4242
$this->assertEquals($this->permission2->id, $userPermissions[0]['id']);
4343
});
4444

45-
4645
test('user permission service returns correct direct and role permissions for the user', function () {
4746
$this->user->syncPermissions([$this->permission->id]);
4847
$this->role2->syncPermissions([$this->permission2->id]);

stubs/tests/Feature/Role/RolePermissionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
});
1919

2020
test('role permissions can be rendered', function () {
21-
$response = $this->loggedRequest->get('/acl-role-permission/' . $this->role->id . '/edit');
21+
$response = $this->loggedRequest->get('/acl-role-permission/'.$this->role->id.'/edit');
2222

2323
$response->assertStatus(200);
2424

@@ -46,7 +46,7 @@
4646
});
4747

4848
test('role permissions can be updated', function () {
49-
$response = $this->loggedRequest->put('/acl-role-permission/' . $this->role->id, [
49+
$response = $this->loggedRequest->put('/acl-role-permission/'.$this->role->id, [
5050
'rolePermissions' => [$this->permission2->id],
5151
]);
5252

stubs/tests/Feature/User/UserPermissionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33
use Inertia\Testing\AssertableInertia as Assert;
4+
use Modules\Acl\Services\GetUserPermissions;
45
use Modules\User\Models\User;
56
use Spatie\Permission\Models\Permission;
6-
use Modules\Acl\Services\GetUserPermissions;
77

88
beforeEach(function () {
99
$this->user = User::factory()->create();
@@ -16,7 +16,7 @@
1616
});
1717

1818
test('user permissions can be rendered', function () {
19-
$response = $this->loggedRequest->get('/acl-user-permission/' . $this->user->id . '/edit');
19+
$response = $this->loggedRequest->get('/acl-user-permission/'.$this->user->id.'/edit');
2020

2121
$response->assertStatus(200);
2222

@@ -44,7 +44,7 @@
4444
});
4545

4646
test('user permissions can be updated', function () {
47-
$response = $this->loggedRequest->put('/acl-user-permission/' . $this->user->id, [
47+
$response = $this->loggedRequest->put('/acl-user-permission/'.$this->user->id, [
4848
'userPermissions' => [$this->permission2->id],
4949
]);
5050

stubs/tests/Feature/User/UserRoleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
});
1616

1717
test('user roles can be rendered', function () {
18-
$response = $this->loggedRequest->get('/acl-user-role/' . $this->user->id . '/edit');
18+
$response = $this->loggedRequest->get('/acl-user-role/'.$this->user->id.'/edit');
1919

2020
$response->assertStatus(200);
2121

@@ -43,7 +43,7 @@
4343
});
4444

4545
test('user roles can be updated', function () {
46-
$response = $this->loggedRequest->put('/acl-user-role/' . $this->user->id, [
46+
$response = $this->loggedRequest->put('/acl-user-role/'.$this->user->id, [
4747
'userRoles' => [$this->role2->id],
4848
]);
4949

0 commit comments

Comments
 (0)