1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-24 07:42:07 +03:00

Tests: Updated comment test to account for new editor usage

This commit is contained in:
Dan Brown
2025-06-27 10:33:28 +01:00
parent 054475135a
commit a37d0c57dc

View File

@ -60,7 +60,6 @@ class CommentDisplayTest extends TestCase
$page = $this->entities->page();
$resp = $this->actingAs($editor)->get($page->getUrl());
$resp->assertSee('tinymce.min.js?', false);
$resp->assertSee('window.editor_translations', false);
$resp->assertSee('component="entity-selector"', false);
@ -68,7 +67,6 @@ class CommentDisplayTest extends TestCase
$this->permissions->grantUserRolePermissions($editor, ['comment-update-own']);
$resp = $this->actingAs($editor)->get($page->getUrl());
$resp->assertDontSee('tinymce.min.js?', false);
$resp->assertDontSee('window.editor_translations', false);
$resp->assertDontSee('component="entity-selector"', false);
@ -79,7 +77,6 @@ class CommentDisplayTest extends TestCase
]);
$resp = $this->actingAs($editor)->get($page->getUrl());
$resp->assertSee('tinymce.min.js?', false);
$resp->assertSee('window.editor_translations', false);
$resp->assertSee('component="entity-selector"', false);
}