Symbiote\Addressable\Tests\AddressableTest
Synopsis
class AddressableTest
extends SapphireTest
{
- // members
- protected boolean $usesDatabase = true;
- // methods
- public void testAddressableWrite()
- public void testConfigureNoCountry()
- public void testConfigureOneCountryGlobally()
- public void testConfigureOneCountryOnExtendable()
- public void testConfigureOneStateGlobally()
- public void testConfigureOneStateOnExtendable()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $usesDatabase
Methods
public
- testAddressableWrite()
- testConfigureNoCountry() — Test the case where nothing is configured for the allowed_countries so we fallback to a full list of countries provided by SilverStripe.
- testConfigureOneCountryGlobally() — Test the case where we configure 1 country in the allowed_countries config.
- testConfigureOneCountryOnExtendable()
- testConfigureOneStateGlobally()
- testConfigureOneStateOnExtendable()