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

Input WYSIWYG: Fixed existing tests, fixed empty description handling

This commit is contained in:
Dan Brown
2023-12-20 17:21:09 +00:00
parent 7fd6d5b2cc
commit a21ca44633
7 changed files with 17 additions and 8 deletions

View File

@@ -307,6 +307,8 @@ class BookTest extends TestCase
$resp->assertRedirect($copy->getUrl());
$this->assertEquals($book->getDirectChildren()->count(), $copy->getDirectChildren()->count());
$this->get($copy->getUrl())->assertSee($book->description_html, false);
}
public function test_copy_does_not_copy_non_visible_content()