CWP\AgencyExtensions\Tests\Extensions\CWPSiteConfigExtensionTest
Synopsis
class CWPSiteConfigExtensionTest
extends SapphireTest
{
- // members
- protected boolean $usesDatabase = true;
- // methods
- public void testConfigurableSearchLabelsExistAndAreInCorrectTab()
- public void testGetThemeOptionsExcluding()
- public void testDefaultValuesAreNotWrittenWhenDisabled()
- public void testDefaultValuesAreWrittenWhenEnabled()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $usesDatabase
Methods
public
- testConfigurableSearchLabelsExistAndAreInCorrectTab() — Ensure that the two "search caption" fields exist and are in the right tab
- testDefaultValuesAreNotWrittenWhenDisabled()
- testDefaultValuesAreWrittenWhenEnabled()
- testGetThemeOptionsExcluding() — Ensure theme options are returned in the expected format without any excluded values