1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Refactored permission system components

Split joint permission creation into chunks

Fixes #374
This commit is contained in:
Dan Brown
2017-04-29 22:01:43 +01:00
parent ad4642c2c4
commit 1859a4d356
8 changed files with 147 additions and 126 deletions

View File

@ -42,7 +42,7 @@ class EntitySearchTest extends TestCase
public function test_book_search()
{
$book = \BookStack\Book::all()->first();
$book = \BookStack\Book::first();
$page = $book->pages->last();
$chapter = $book->chapters->last();