X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/582158f70e6c63980cce17d408a0cc435a0d985f..b94b945fb03e21a1997cfe6e50148967586cb26d:/tests/Entity/TagTest.php diff --git a/tests/Entity/TagTest.php b/tests/Entity/TagTest.php index 7e1166388..13876410a 100644 --- a/tests/Entity/TagTest.php +++ b/tests/Entity/TagTest.php @@ -1,10 +1,11 @@ restricted = true; $page->save(); - $permissionService->buildJointPermissionsForEntity($page); + $page->rebuildPermissions(); $this->asAdmin()->get('/ajax/tags/suggest/names?search=co')->seeJsonEquals(['color', 'country']); $this->asEditor()->get('/ajax/tags/suggest/names?search=co')->seeJsonEquals([]);