]> BookStack Code Mirror - bookstack/commitdiff
Cover image test case
authorNilesh Deepak <redacted>
Fri, 14 Jul 2017 13:06:50 +0000 (18:36 +0530)
committerNilesh Deepak <redacted>
Fri, 14 Jul 2017 13:06:50 +0000 (18:36 +0530)
tests/Entity/EntityTest.php

index 34b8d617ac5837201423035ba7060debcfd5e1b6..647676ec75772d5b47b5a9e2e035db493cb29f93 100644 (file)
@@ -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
         ]);
Morty Proxy This is a proxified and sanitized view of the page, visit original site.