mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Copied over work from user_permissions branch
Only that relevant to the additional testing work.
This commit is contained in:
@@ -91,7 +91,7 @@ class ReferencesTest extends TestCase
|
||||
$pageB = $this->entities->page();
|
||||
$this->createReference($pageB, $page);
|
||||
|
||||
$this->entities->setPermissions($pageB);
|
||||
$this->permissions->setEntityPermissions($pageB);
|
||||
|
||||
$this->asEditor()->get($page->getUrl('/references'))->assertDontSee($pageB->name);
|
||||
$this->asAdmin()->get($page->getUrl('/references'))->assertSee($pageB->name);
|
||||
|
Reference in New Issue
Block a user