mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
dfa227cbe5
commit
221e7b574f
@ -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());
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user