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