Permalink
Browse files

MINOR Fixing broken test

  • Loading branch information...
1 parent d15b4ad commit 46660e98bcf399382bf8d7c8af31ade5c989af7b @halkyon halkyon committed May 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/controller/CMSMainTest.php
@@ -36,9 +36,9 @@ function testPublish() {
$this->session()->inst_set('loggedInAs', $this->idFromFixture('Member', 'admin'));
$response = $this->get("admin/cms/publishall?confirm=1");
-
+
$this->assertContains(
- sprintf(_t('CMSMain.PUBPAGES',"Done: Published %d pages"), 30),
+ _t('CMSMain.PUBPAGES', 'Done: Published %d pages', '', array('count' => 30)),
$response->getBody()
);

0 comments on commit 46660e9

Please sign in to comment.