mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Fixed shelf covers being stored as 'cover_book'
Are now stored as 'cover_bookshelf' as expected. Added a migrate to alter existing shelf cover image types.
This commit is contained in:
@@ -125,6 +125,7 @@ class BookShelfTest extends TestCase
|
||||
'image_id' => $lastImage->id,
|
||||
]);
|
||||
$this->assertEquals($lastImage->id, $shelf->cover->id);
|
||||
$this->assertEquals('cover_bookshelf', $lastImage->type);
|
||||
}
|
||||
|
||||
public function test_shelf_view()
|
||||
|
Reference in New Issue
Block a user