Skip to content

Commit

Permalink
FIX wrongly named themes after themestack API change (#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamish Friedlander authored and Sam Minnée committed Jul 15, 2016
1 parent 7e5f008 commit 0f95080
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/controller/ContentControllerTest.php
Expand Up @@ -183,8 +183,7 @@ public function testGetViewer() {
$controller = new ContentController($page);
$viewer = $controller->getViewer('test');
$templateList = array('ContentControllerTestPage_test', 'Page');
$expected = SS_TemplateLoader::instance()->findTemplates($templateList, 'controllertest');
$self->assertEquals($expected, $viewer->templates());
$self->assertEquals(dirname(__FILE__).'/themes/controllertest/templates/ContentControllerTestPage_test.ss', $viewer->templates()['main']);
});
}

Expand Down

0 comments on commit 0f95080

Please sign in to comment.