Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'weierophinney/hotfix/view-tests'
Browse files Browse the repository at this point in the history
  • Loading branch information
akrabat committed Mar 13, 2012
2 parents a893c8a + 4fb7785 commit a860d41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Model/JsonModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
namespace Zend\View\Model;

use Traversable,
Zend\Json\Json,
Zend\Stdlib\ArrayUtils;

/**
Expand Down
1 change: 1 addition & 0 deletions test/ViewTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public function testChildrenMayInvokeDifferentRenderingStrategiesThanParents()

$child2 = new Model\JsonModel(array('bar' => 'baz'));
$child2->setCaptureTo('child2');
$child2->setTerminal(false);

$this->model->setVariable('parent', 'node');
$this->model->addChild($child1);
Expand Down

0 comments on commit a860d41

Please sign in to comment.