Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Fixing broken test

  • Loading branch information...
commit 46660e98bcf399382bf8d7c8af31ade5c989af7b 1 parent d15b4ad
@halkyon halkyon authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/controller/CMSMainTest.php
View
4 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()
);
Please sign in to comment.
Something went wrong with that request. Please try again.