mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Reviewed #1688, Show parent shelves on books page
- Moved list to the left of the page to align with other navigational items. - Hid list of no shelves, to help hide shelf references if not in use. - Tweaked test to ensure it wasn't finding shelf name in breadcrumb rather than list being tested.
This commit is contained in:
@ -284,7 +284,7 @@ class BookShelfTest extends TestCase
|
||||
$newBook = Book::query()->orderBy('id', 'desc')->first();
|
||||
|
||||
$resp = $this->asEditor()->get($newBook->getUrl());
|
||||
$resp->assertSee($shelfInfo['name']);
|
||||
$resp->assertElementContains('.tri-layout-left-contents', $shelfInfo['name']);
|
||||
|
||||
// Remove shelf
|
||||
$this->delete($shelf->getUrl());
|
||||
|
Reference in New Issue
Block a user