Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelio committed Oct 9, 2023
1 parent 544c855 commit d743d6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/AdminControllerTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Tests;


use App\Models\Role;
use App\Models\Subfleet;
use App\Models\User;
Expand All @@ -15,7 +14,8 @@ public function setUp(): void
$this->addData('base');
}

private function addAdminUser(): User {
private function addAdminUser(): User
{
$user = User::factory()->create();
$role = Role::where(['name' => 'admin'])->first();
$user->addRole($role);
Expand Down

0 comments on commit d743d6b

Please sign in to comment.