Skip to content

Commit

Permalink
Dev: Fix template copy test
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Dec 1, 2017
1 parent 87aca2e commit 42a0d9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/controllers/TemplateControllerTest.php
Expand Up @@ -38,7 +38,8 @@ public function testCopyTemplate()

// Simulate a POST.
$_POST['newname'] = $newname;
$_POST['copydir'] = 'fruity';
// NB: If vanilla is not installed, this test will fail.
$_POST['copydir'] = 'vanilla';
$_SERVER['SERVER_NAME'] = 'localhost';

$contr = new \themes(new \ls\tests\DummyController('dummyid'));
Expand Down

0 comments on commit 42a0d9b

Please sign in to comment.