]> BookStack Code Mirror - bookstack/blobdiff - tests/ThemeTest.php
Added language list favourites sorting, updated styles
[bookstack] / tests / ThemeTest.php
index 23b55a8baf219c609eec769c8470cb0c61f9f5d2..12a25a6d425131b2d52d21408d283721bafc244d 100644 (file)
@@ -37,7 +37,7 @@ class ThemeTest extends TestCase
             file_put_contents($translationPath . '/entities.php', $customTranslations);
 
             $homeRequest = $this->actingAs($this->getViewer())->get('/');
-            $homeRequest->assertElementContains('header nav', 'Sandwiches');
+            $this->withHtml($homeRequest)->assertElementContains('header nav', 'Sandwiches');
         });
     }