MINOR Fixed SSViewerTest to initialize controller properly

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@111047 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-09-21 20:29:10 +00:00 committed by Sam Minnee
parent 1aebd6dd76
commit ae6c40148b

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');