mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-12-11 19:57:23 +03:00
Testing: Fixed some incorrect test case names
This commit is contained in:
@@ -52,7 +52,7 @@ class PageListLimitsTest extends TestCase
|
||||
$this->withHtml($resp)->assertElementCount('main [data-entity-type="bookshelf"]', 1);
|
||||
}
|
||||
|
||||
public function test_shelf_count_is_used_on_books_view()
|
||||
public function test_book_count_is_used_on_books_view()
|
||||
{
|
||||
$resp = $this->asAdmin()->get('/books');
|
||||
$defaultCount = min(Book::query()->count(), 18);
|
||||
@@ -66,7 +66,7 @@ class PageListLimitsTest extends TestCase
|
||||
$this->withHtml($resp)->assertElementCount('main [data-entity-type="book"]', 1);
|
||||
}
|
||||
|
||||
public function test_shelf_count_is_used_on_search_view()
|
||||
public function test_search_count_is_used_on_search_view()
|
||||
{
|
||||
$resp = $this->asAdmin()->get('/search');
|
||||
$this->withHtml($resp)->assertElementCount('.entity-list [data-entity-id]', 18);
|
||||
|
||||
Reference in New Issue
Block a user