Symbiote\Addressable\Tests\GeocodableApiValuesTest
Synopsis
class GeocodableApiValuesTest
extends SapphireTest
{
- // members
- protected string $envApiKey = 'env-key';
- protected string $googleGeocodeServiceApiKey = 'google-geocode-service-key';
- protected string $geocodeServiceApiKey = 'geocode-service-key';
- protected string $googleGeocodeServiceApiUrl = 'https://example.com/googleGeocodeServiceApiUrl';
- protected string $geocodeServiceApiUrl = 'https://example.com/geocodeServiceApiUrl';
- // methods
- public void setUp()
- public void tearDown()
- public void testApiKeySetGet()
- public void testApiUrlSetGet()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $envApiKey
- $geocodeServiceApiKey
- $geocodeServiceApiUrl
- $googleGeocodeServiceApiKey
- $googleGeocodeServiceApiUrl
Methods
public
- setUp() — Set up config
- tearDown() — Reset config
- testApiKeySetGet() — Test setting and getting API key, including legacy config
- testApiUrlSetGet() — Test setting and getting API URL, including legacy config