Skip to content

Commit ee38461

Browse files
authored
Test role delete
1 parent bfb824a commit ee38461

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/RoleTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,14 @@ public function it_belongs_to_the_default_guard_by_default()
293293
);
294294
}
295295

296+
/** @test */
297+
#[Test]
298+
public function it_can_delete_role()
299+
{
300+
$role = app(Role::class)->create(['name' => 'test-role-old']);
301+
$role->delete();
302+
}
303+
296304
/** @test */
297305
#[Test]
298306
public function it_can_change_role_class_on_runtime()

0 commit comments

Comments
 (0)