mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Extracted entity testcase methods to own class
Also added some new fetch helper methods for future use.
This commit is contained in:
@@ -36,7 +36,7 @@ class EntityPermissionsTest extends TestCase
|
||||
$this->user->roles->first(),
|
||||
$this->viewer->roles->first(),
|
||||
];
|
||||
$this->setEntityRestrictions($entity, $actions, $roles);
|
||||
$this->entities->setPermissions($entity, $actions, $roles);
|
||||
}
|
||||
|
||||
public function test_bookshelf_view_restriction()
|
||||
|
Reference in New Issue
Block a user