mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-01-03 23:42:28 +03:00
Migrated much test entity usage via find/replace
This commit is contained in:
@@ -36,7 +36,7 @@ class CopyShelfPermissionsCommandTest extends TestCase
|
||||
|
||||
public function test_copy_shelf_permissions_command_using_all()
|
||||
{
|
||||
$shelf = Bookshelf::query()->first();
|
||||
$shelf = $this->entities->shelf();
|
||||
Bookshelf::query()->where('id', '!=', $shelf->id)->delete();
|
||||
$child = $shelf->books()->first();
|
||||
$editorRole = $this->getEditor()->roles()->first();
|
||||
|
||||
Reference in New Issue
Block a user