MINOR Fixed undefined variable in CMSMainTest

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76877 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-05-14 21:56:20 +00:00
parent 46bf3ce2d2
commit cbddc66547

View File

@ -21,7 +21,7 @@ class CMSMainTest extends FunctionalTest {
$response->getBody()
);
$response = Director::test("admin/cms/batchactions/publish", array('csvIDs' => '1,2', 'ajax' => 1), $session);
$response = Director::test("admin/cms/batchactions/publish", array('csvIDs' => '1,2', 'ajax' => 1), $this->session());
$this->assertContains('setNodeTitle(1, \'Page 1\');', $response->getBody());
$this->assertContains('setNodeTitle(2, \'Page 2\');', $response->getBody());