mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Fixing broken test
This commit is contained in:
parent
d15b4ad8ee
commit
46660e98bc
@ -36,9 +36,9 @@ class CMSMainTest extends FunctionalTest {
|
|||||||
$this->session()->inst_set('loggedInAs', $this->idFromFixture('Member', 'admin'));
|
$this->session()->inst_set('loggedInAs', $this->idFromFixture('Member', 'admin'));
|
||||||
|
|
||||||
$response = $this->get("admin/cms/publishall?confirm=1");
|
$response = $this->get("admin/cms/publishall?confirm=1");
|
||||||
|
|
||||||
$this->assertContains(
|
$this->assertContains(
|
||||||
sprintf(_t('CMSMain.PUBPAGES',"Done: Published %d pages"), 30),
|
_t('CMSMain.PUBPAGES', 'Done: Published %d pages', '', array('count' => 30)),
|
||||||
$response->getBody()
|
$response->getBody()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user