mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-25 18:42:01 +03:00
Cover image test case
This commit is contained in:
@ -153,7 +153,7 @@ class EntityTest extends BrowserKitTest
|
|||||||
->seePageIs('/books/my-first-book')
|
->seePageIs('/books/my-first-book')
|
||||||
->see($book->name)->see($book->description);
|
->see($book->name)->see($book->description);
|
||||||
|
|
||||||
$book = factory(Book::class)->latest();
|
$book = factory(Book::class)->latest();
|
||||||
$this->assertDatabaseHas('images', [
|
$this->assertDatabaseHas('images', [
|
||||||
'id' => $book->image
|
'id' => $book->image
|
||||||
]);
|
]);
|
||||||
|
Reference in New Issue
Block a user