Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Fixed SSViewerTest to initialize controller properly (from r111…

…047)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112885 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 12d8b6994f93ee808896eebf7a816800b5908149 1 parent 96beff5
@sminnee sminnee authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/SSViewerTest.php
View
2  tests/SSViewerTest.php
@@ -21,7 +21,7 @@ function testCurrentTheme() {
// Pretent to load the page
$c = new ContentController();
- $c->init();
+ $c->handleRequest(new SS_HTTPRequest('GET', '/'));
$this->assertEquals('myusertheme', SSViewer::current_theme(), 'Current theme is a user defined one');
Please sign in to comment.
Something went wrong with that request. Please try again.