Fixed glitch in test

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61628 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-08-27 08:23:47 +00:00
parent dfa227cbe5
commit 221e7b574f
2 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ class CMSMainTest extends SapphireTest {
));
$response = Director::test("admin/cms/publishall", array('confirm' => 1), $session);
$this->assertContains('Done: Published 4 pages', $response->getBody());
$this->assertContains('Done: Published 5 pages', $response->getBody());
$response = Director::test("admin/cms/publishitems", array('csvIDs' => '1,2', 'ajax' => 1), $session);
$this->assertContains('setNodeTitle(1, \'Page 1\');', $response->getBody());

View File

@ -1,7 +1,4 @@
Page:
home:
Title: Home
URLSegment: home
page1:
Title: Page 1
page2:
@ -10,6 +7,9 @@ Page:
Title: Page 2
page4:
Title: Page 2
home:
Title: Home
URLSegment: home
Group:
admin: