From dedb9d0461515f1c5b233083dfbf2817c73a736c Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 9 May 2012 21:54:33 +1200 Subject: [PATCH] MINOR Removing use of _t() in test, assert the english text since en_US is the locale set for tests by default. --- tests/controller/CMSMainTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/controller/CMSMainTest.php b/tests/controller/CMSMainTest.php index 9c1c3b97..1d49e457 100644 --- a/tests/controller/CMSMainTest.php +++ b/tests/controller/CMSMainTest.php @@ -38,7 +38,7 @@ class CMSMainTest extends FunctionalTest { $response = $this->get("admin/cms/publishall?confirm=1"); $this->assertContains( - _t('CMSMain.PUBPAGES', 'Done: Published %d pages', '', array('count' => 30)), + 'Done: Published 30 pages', $response->getBody() );