mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
1aebd6dd76
commit
ae6c40148b
@ -21,7 +21,7 @@ class SSViewerTest extends SapphireTest {
|
|||||||
|
|
||||||
// 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');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user