1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Updated tests to align with recent list changes

This commit is contained in:
Dan Brown
2022-11-01 14:53:36 +00:00
parent d4e71e431b
commit f809bd3a62
6 changed files with 19 additions and 38 deletions

View File

@ -62,11 +62,11 @@ class RecycleBinTest extends TestCase
$viewReq = $this->asAdmin()->get('/settings/recycle-bin');
$html = $this->withHtml($viewReq);
$html->assertElementContains('table.table', $page->name);
$html->assertElementContains('table.table', $editor->name);
$html->assertElementContains('table.table', $book->name);
$html->assertElementContains('table.table', $book->pages_count . ' Pages');
$html->assertElementContains('table.table', $book->chapters_count . ' Chapters');
$html->assertElementContains('.item-list-row', $page->name);
$html->assertElementContains('.item-list-row', $editor->name);
$html->assertElementContains('.item-list-row', $book->name);
$html->assertElementContains('.item-list-row', $book->pages_count . ' Pages');
$html->assertElementContains('.item-list-row', $book->chapters_count . ' Chapters');
}
public function test_recycle_bin_empty()