Skip to content

Commit 9d4fa29

Browse files
drbytegithub-actions[bot]
authored andcommitted
Fix styling
1 parent dd3ccf5 commit 9d4fa29

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

tests/HasPermissionsTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Spatie\Permission\Tests;
44

5-
use Illuminate\Database\Eloquent\Model;
65
use DB;
6+
use Illuminate\Database\Eloquent\Model;
77
use Spatie\Permission\Contracts\Permission;
88
use Spatie\Permission\Contracts\Role;
99
use Spatie\Permission\Exceptions\GuardDoesNotMatch;
@@ -779,7 +779,7 @@ public function it_can_be_given_a_permission_on_role_when_lazy_loading_is_restri
779779

780780
$this->assertTrue($testRole->hasPermissionTo('edit-articles'));
781781
} catch (Exception $e) {
782-
$this->fail('Lazy loading detected in the givePermissionTo method: ' . $e->getMessage());
782+
$this->fail('Lazy loading detected in the givePermissionTo method: '.$e->getMessage());
783783
}
784784
}
785785

@@ -796,7 +796,7 @@ public function it_can_be_given_a_permission_on_user_when_lazy_loading_is_restri
796796

797797
$this->assertTrue($testUser->hasPermissionTo('edit-articles'));
798798
} catch (Exception $e) {
799-
$this->fail('Lazy loading detected in the givePermissionTo method: ' . $e->getMessage());
799+
$this->fail('Lazy loading detected in the givePermissionTo method: '.$e->getMessage());
800800
}
801801
}
802802
}

tests/HasRolesTest.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ public function it_can_be_given_a_role_on_permission_when_lazy_loading_is_restri
871871

872872
$this->assertTrue($testPermission->hasRole('testRole'));
873873
} catch (Exception $e) {
874-
$this->fail('Lazy loading detected in the givePermissionTo method: ' . $e->getMessage());
874+
$this->fail('Lazy loading detected in the givePermissionTo method: '.$e->getMessage());
875875
}
876876
}
877877

@@ -887,8 +887,7 @@ public function it_can_be_given_a_role_on_user_when_lazy_loading_is_restricted()
887887

888888
$this->assertTrue($user->hasRole('testRole'));
889889
} catch (Exception $e) {
890-
$this->fail('Lazy loading detected in the givePermissionTo method: ' . $e->getMessage());
890+
$this->fail('Lazy loading detected in the givePermissionTo method: '.$e->getMessage());
891891
}
892892
}
893-
894893
}

0 commit comments

Comments
 (0)