diff --git a/tests/models/TemplateConfigurationTest.php b/tests/models/TemplateConfigurationTest.php index a3e6cb9667e..4939a13d0d1 100644 --- a/tests/models/TemplateConfigurationTest.php +++ b/tests/models/TemplateConfigurationTest.php @@ -17,8 +17,7 @@ class TemplateConfigurationTest extends TestBaseClass */ public function testCopyMinimalTemplate() { - $tempConf = new \TemplateConfiguration(); - $tempConf->template = 'default'; + $tempConf = \TemplateConfiguration::getInstanceFromTemplateName('default'); $tempConf->prepareTemplateRendering('default'); } }