mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-28 11:05:43 +08:00
Moved decode and updated page plaintext decode test
This commit is contained in:
@ -312,10 +312,10 @@ class PageContentTest extends TestCase
|
||||
$this->actingAs($this->getAdmin())
|
||||
->put($page->getUrl(''), [
|
||||
'name' => 'Testing',
|
||||
'html' => '<p>Hello & welcome</p>',
|
||||
'html' => '<p>"Hello & welcome"</p>',
|
||||
]);
|
||||
|
||||
$page->refresh();
|
||||
$this->assertEquals('Hello & welcome', $page->text);
|
||||
$this->assertEquals('"Hello & welcome"', $page->text);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user