]> BookStack Code Mirror - bookstack/blobdiff - tests/HelpTest.php
Added more complexity in an attempt to make ldap host failover fit
[bookstack] / tests / HelpTest.php
index cd983dbebe8de12e6d786f82fb2083e00a1373ac..9cf80717fe088ea43865a67cdddd62d5017b0102 100644 (file)
@@ -8,8 +8,8 @@ class HelpTest extends TestCase
     {
         $resp = $this->get('/help/wysiwyg');
         $resp->assertOk();
-        $resp->assertElementExists('a[href="https://www.tiny.cloud/"]');
-        $resp->assertElementExists('a[href="' . url('/libs/tinymce/license.txt') . '"]');
+        $this->withHtml($resp)->assertElementExists('a[href="https://www.tiny.cloud/"]');
+        $this->withHtml($resp)->assertElementExists('a[href="' . url('/libs/tinymce/license.txt') . '"]');
     }
 
     public function test_tiny_license_exists_where_expected()