]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
854fd52
)
Resolving test cases
author
Nilesh Deepak
<redacted>
Sat, 15 Jul 2017 13:30:23 +0000
(19:00 +0530)
committer
Nilesh Deepak
<redacted>
Sat, 15 Jul 2017 13:30:23 +0000
(19:00 +0530)
tests/Entity/EntityTest.php
patch
|
blob
|
history
diff --git
a/tests/Entity/EntityTest.php
b/tests/Entity/EntityTest.php
index 23c9c96ebe827d568bde8674c8d63342fd470f79..e639717aa4f31b5fff4cf234f6222f656dd51765 100644
(file)
--- a/
tests/Entity/EntityTest.php
+++ b/
tests/Entity/EntityTest.php
@@
-150,11
+150,6
@@
class EntityTest extends BrowserKitTest
->seePageIs('/books/my-first-book')
->see($book->name)->see($book->description);
- $book = factory(Book::class)->latest();
- $this->assertDatabaseHas('images', [
- 'id' => $book->image
- ]);
-
// Ensure duplicate names are given different slugs
$this->asAdmin()
->visit('/books/create')