From: Nilesh Deepak Date: Fri, 14 Jul 2017 13:06:50 +0000 (+0530) Subject: Cover image test case X-Git-Tag: v0.19.0~1^2~15^2~25 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/1fe8f1350371b211346ff73f564fd3c2884b57f7 Cover image test case --- diff --git a/tests/Entity/EntityTest.php b/tests/Entity/EntityTest.php index 34b8d617a..647676ec7 100644 --- a/tests/Entity/EntityTest.php +++ b/tests/Entity/EntityTest.php @@ -153,7 +153,7 @@ class EntityTest extends BrowserKitTest ->seePageIs('/books/my-first-book') ->see($book->name)->see($book->description); - $book = factory(Book::class)->latest(); + $book = factory(Book::class)->latest(); $this->assertDatabaseHas('images', [ 'id' => $book->image ]);