mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-01-31 18:32:00 +08: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')
|
||||
->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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user