Skip to content

Commit

Permalink
Dev: Adjust test to template -> theme
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Nov 22, 2017
1 parent 7a271f7 commit e3cf604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/controllers/TemplateControllerTest.php
Expand Up @@ -20,7 +20,7 @@ class TemplateControllerTest extends TestBaseClass
public function testCopyTemplate()
{
\Yii::app()->session['loginID'] = 1;
\Yii::import('application.controllers.admin.templates', true);
\Yii::import('application.controllers.admin.themes', true);
\Yii::import('application.helpers.globalsettings_helper', true);

// Clean up from last test.
Expand All @@ -41,7 +41,7 @@ public function testCopyTemplate()
$_POST['copydir'] = 'default';
$_SERVER['SERVER_NAME'] = 'localhost';

$contr = new \templates(new \ls\tests\DummyController('dummyid'));
$contr = new \themes(new \ls\tests\DummyController('dummyid'));
$contr->templatecopy();

$flashes = \Yii::app()->user->getFlashes();
Expand Down

0 comments on commit e3cf604

Please sign in to comment.