Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Commit

Permalink
Fix: Also rename view template folder
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Mar 5, 2015
1 parent 40bc336 commit 286a2b6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function organizationAction()

$viewModel = new ViewModel(['repositories' => $repositories]);
$viewModel->setTerminal(true);
$viewModel->setTemplate('zf-module/index/index.phtml');
$viewModel->setTemplate('zf-module/module/index.phtml');

return $viewModel;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function testIndexActionRendersUnregisteredModulesOnly()
$viewModel = $this->getApplication()->getMvcEvent()->getViewModel();

$this->assertTrue($viewModel->terminate());
$this->assertSame('zf-module/index/index', $viewModel->getTemplate());
$this->assertSame('zf-module/module/index', $viewModel->getTemplate());

$viewVariable = $viewModel->getVariable('repositories');

Expand Down Expand Up @@ -418,7 +418,7 @@ public function testOrganizationActionRendersUnregisteredModulesOnly()
$viewModel = $this->getApplication()->getMvcEvent()->getViewModel();

$this->assertTrue($viewModel->terminate());
$this->assertSame('zf-module/index/index.phtml', $viewModel->getTemplate());
$this->assertSame('zf-module/module/index.phtml', $viewModel->getTemplate());

$viewVariable = $viewModel->getVariable('repositories');

Expand Down

0 comments on commit 286a2b6

Please sign in to comment.