mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 20:22:18 +00:00
Resolving test cases
This commit is contained in:
parent
854fd52a27
commit
a149e87ca7
@ -150,11 +150,6 @@ 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();
|
|
||||||
$this->assertDatabaseHas('images', [
|
|
||||||
'id' => $book->image
|
|
||||||
]);
|
|
||||||
|
|
||||||
// Ensure duplicate names are given different slugs
|
// Ensure duplicate names are given different slugs
|
||||||
$this->asAdmin()
|
$this->asAdmin()
|
||||||
->visit('/books/create')
|
->visit('/books/create')
|
||||||
|
Loading…
Reference in New Issue
Block a user