mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
CMSMain assertion fail due to escaping
Validation messages are now HTML entity escaped when output to the user, the assertion needs to reflect that
This commit is contained in:
parent
0b073d2d0f
commit
30cf08b27e
@ -258,7 +258,7 @@ class CMSMainTest extends FunctionalTest {
|
||||
);
|
||||
$this->assertFalse($response->isError());
|
||||
$this->assertContains(
|
||||
_t('SiteTree.PageTypeNotAllowed', array('type' => 'Page')),
|
||||
htmlentities(_t('SiteTree.PageTypeNotAllowed', array('type' => 'Page'))),
|
||||
$response->getBody()
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user