Moved decode and updated page plaintext decode test

This commit is contained in:
Dan Brown
2020-09-19 15:13:18 +01:00
parent 44f3508171
commit 31eec34b5d
2 changed files with 4 additions and 4 deletions

View File

@ -312,10 +312,10 @@ class PageContentTest extends TestCase
$this->actingAs($this->getAdmin())
->put($page->getUrl(''), [
'name' => 'Testing',
'html' => '<p>Hello &amp; welcome</p>',
'html' => '<p>&quot;Hello &amp; welcome&quot;</p>',
]);
$page->refresh();
$this->assertEquals('Hello & welcome', $page->text);
$this->assertEquals('"Hello & welcome"', $page->text);
}
}