1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-27 06:01:54 +03:00

Updated tests to use ssddanbrown/asserthtml package

Closes #3519
This commit is contained in:
Dan Brown
2022-07-23 15:10:18 +01:00
parent cf73e5f2c6
commit 72c8b138e1
48 changed files with 869 additions and 1014 deletions

View 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()