From 1fe8f1350371b211346ff73f564fd3c2884b57f7 Mon Sep 17 00:00:00 2001 From: Nilesh Deepak Date: Fri, 14 Jul 2017 18:36:50 +0530 Subject: [PATCH] Cover image test case --- tests/Entity/EntityTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ]);