X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/67d12cc1dff286f25ee0a99eaad6158285810932..refs/pull/5115/head:/tests/HelpTest.php diff --git a/tests/HelpTest.php b/tests/HelpTest.php index cd983dbeb..9cf80717f 100644 --- a/tests/HelpTest.php +++ b/tests/HelpTest.php @@ -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('/http/source.bookstackapp.com/libs/tinymce/license.txt') . '"]'); + $this->withHtml($resp)->assertElementExists('a[href="https://www.tiny.cloud/"]'); + $this->withHtml($resp)->assertElementExists('a[href="' . url('/http/source.bookstackapp.com/libs/tinymce/license.txt') . '"]'); } public function test_tiny_license_exists_where_expected()