mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
FIX wrongly named themes after themestack API change (#1548)
This commit is contained in:
parent
7e5f0087b8
commit
0f950800ef
@ -183,8 +183,7 @@ class ContentControllerTest extends FunctionalTest {
|
|||||||
$controller = new ContentController($page);
|
$controller = new ContentController($page);
|
||||||
$viewer = $controller->getViewer('test');
|
$viewer = $controller->getViewer('test');
|
||||||
$templateList = array('ContentControllerTestPage_test', 'Page');
|
$templateList = array('ContentControllerTestPage_test', 'Page');
|
||||||
$expected = SS_TemplateLoader::instance()->findTemplates($templateList, 'controllertest');
|
$self->assertEquals(dirname(__FILE__).'/themes/controllertest/templates/ContentControllerTestPage_test.ss', $viewer->templates()['main']);
|
||||||
$self->assertEquals($expected, $viewer->templates());
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user