diff --git a/tests/HasPermissionsTest.php b/tests/HasPermissionsTest.php index b785f01d..4c9528d0 100644 --- a/tests/HasPermissionsTest.php +++ b/tests/HasPermissionsTest.php @@ -636,7 +636,7 @@ public function it_can_sync_permissions_to_a_model_that_is_not_persisted() $user = new User(['email' => 'test@user.com']); $user->syncPermissions('edit-articles'); $user->save(); - $user->save(); // test save same model twice + $user->save(); // test save same model twice $this->assertTrue($user->hasPermissionTo('edit-articles')); diff --git a/tests/HasRolesTest.php b/tests/HasRolesTest.php index 9cc13a7c..93ee3574 100644 --- a/tests/HasRolesTest.php +++ b/tests/HasRolesTest.php @@ -341,7 +341,7 @@ public function it_will_sync_roles_to_a_model_that_is_not_persisted() $user = new User(['email' => 'test@user.com']); $user->syncRoles([$this->testUserRole]); $user->save(); - $user->save(); // test save same model twice + $user->save(); // test save same model twice $this->assertTrue($user->hasRole($this->testUserRole)); @@ -831,9 +831,7 @@ public function it_throws_an_exception_if_an_unsupported_type_is_passed_to_hasRo { $this->expectException(\TypeError::class); - $this->testUser->hasRole(new class - { - }); + $this->testUser->hasRole(new class {}); } /** @test */