MINOR Fixed SSViewerTest to initialize controller properly (from r111047)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112885 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-10-19 03:38:47 +00:00
parent 96beff54fb
commit 12d8b6994f

View File

@ -21,7 +21,7 @@ class SSViewerTest extends SapphireTest {
// 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');