mirror of
https://github.com/silverstripe/silverstripe-staticpublisher
synced 2024-10-22 14:05:54 +02:00
BUGFIX: Remove redundant test assertion
Remove assertion testing the way that SSViewer works.
This commit is contained in:
parent
4ad06e5579
commit
d26537dee4
@ -144,12 +144,6 @@ class FilesystemPublisherTest extends SapphireTest {
|
||||
$current_theme=SSViewer::current_custom_theme();
|
||||
$this->assertEquals($current_theme, $default_theme, 'After a standard publication, the theme is correct');
|
||||
|
||||
//The CMS sometimes sets the theme to null. Check that the $current_custom_theme is still the default
|
||||
SSViewer::set_theme(null);
|
||||
|
||||
$current_theme=SSViewer::current_custom_theme();
|
||||
$this->assertEquals($current_theme, $default_theme, 'After a setting the theme to null, the default theme is correct');
|
||||
|
||||
//We can set the static_publishing theme to something completely different:
|
||||
//Static publishing will use this one instead of the current_custom_theme if it is not false
|
||||
StaticPublisher::set_static_publisher_theme('otherTheme');
|
||||
|
Loading…
Reference in New Issue
Block a user