Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 34fa027

Browse files
committed
Fixed PWFC test. Issue
symfony-cmf/symfony-cmf#172
1 parent 1f84e1a commit 34fa027

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Functional/Doctrine/Phpcr/MenuNodeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ public function testMenuNode()
117117
$this->assertCount(1, $menuNode->getChildren());
118118

119119
// test publish start and end
120-
$publishStartDate = $data['publishStartDate'];
121-
$publishEndDate = $data['publishEndDate'];
120+
$publishStartDate = $menuNode->getPublishStartDate();
121+
$publishEndDate = $menuNode->getPublishEndDate();
122122

123123
$this->assertInstanceOf('\DateTime', $publishStartDate);
124124
$this->assertInstanceOf('\DateTime', $publishEndDate);

0 commit comments

Comments
 (0)