diff --git a/tests/CMSMainTest.php b/tests/CMSMainTest.php index ec4ab4da..90412e6f 100644 --- a/tests/CMSMainTest.php +++ b/tests/CMSMainTest.php @@ -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()); diff --git a/tests/CMSMainTest.yml b/tests/CMSMainTest.yml index bfd0f699..7ad281a5 100644 --- a/tests/CMSMainTest.yml +++ b/tests/CMSMainTest.yml @@ -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: