diff --git a/tests/controller/CMSMainTest.php b/tests/controller/CMSMainTest.php index ade03182..a634e92f 100644 --- a/tests/controller/CMSMainTest.php +++ b/tests/controller/CMSMainTest.php @@ -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() );