Skip to content

Commit

Permalink
MINOR Fixed SSViewerTest to initialize controller properly (from r111…
Browse files Browse the repository at this point in the history
…047)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112885 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
Sam Minnee committed Oct 19, 2010
1 parent 96beff5 commit 12d8b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/SSViewerTest.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function testCurrentTheme() {


// Pretent to load the page // Pretent to load the page
$c = new ContentController(); $c = new ContentController();
$c->init(); $c->handleRequest(new SS_HTTPRequest('GET', '/'));


$this->assertEquals('myusertheme', SSViewer::current_theme(), 'Current theme is a user defined one'); $this->assertEquals('myusertheme', SSViewer::current_theme(), 'Current theme is a user defined one');


Expand Down

0 comments on commit 12d8b69

Please sign in to comment.