mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-20 20:31:25 +08:00
Resolving test cases
This commit is contained in:
@ -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')
|
||||||
|
Reference in New Issue
Block a user