mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
96beff54fb
commit
12d8b6994f
@ -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');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user