1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2026-01-03 23:42:28 +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

@@ -51,7 +51,7 @@ class AuditLogTest extends TestCase
$resp->assertSeeText($page->name);
$resp->assertSeeText('page_create');
$resp->assertSeeText($activity->created_at->toDateTimeString());
$this->withHtml($resp)->assertElementContains('.table-user-item', $admin->name);
$this->withHtml($resp)->assertElementContains('a[href*="users/' . $admin->id . '"]', $admin->name);
}
public function test_shows_name_for_deleted_items()