]> BookStack Code Mirror - bookstack/blobdiff - tests/TestEmailTest.php
Added language list favourites sorting, updated styles
[bookstack] / tests / TestEmailTest.php
index e0350371afe00707ce8eb87f6597018e3f94f424..97f98225d4fe8b82920a2eb4b5d1cfc14f17c9fe 100644 (file)
@@ -12,8 +12,8 @@ class TestEmailTest extends TestCase
     {
         $pageView = $this->asAdmin()->get('/settings/maintenance');
         $formCssSelector = 'form[action$="/settings/maintenance/send-test-email"]';
-        $pageView->assertElementExists($formCssSelector);
-        $pageView->assertElementContains($formCssSelector . ' button', 'Send Test Email');
+        $this->withHtml($pageView)->assertElementExists($formCssSelector);
+        $this->withHtml($pageView)->assertElementContains($formCssSelector . ' button', 'Send Test Email');
     }
 
     public function test_send_test_email_endpoint_sends_email_and_redirects_user_and_shows_notification()