]> BookStack Code Mirror - bookstack/blobdiff - tests/Actions/AuditLogTest.php
Guest create page: name field autofocus
[bookstack] / tests / Actions / AuditLogTest.php
index 987e23a45bd42f917ceb2c741168021e6b5c5b51..25fa2b7963893a5cbb3689a1b8e7698c817f731a 100644 (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()