mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 20:22:18 +00:00
Cover image test case
This commit is contained in:
parent
8f3adcda5d
commit
1fe8f13503
@ -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
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user