NSWDPC\Chimple\Tests\ChimpleSubscriberTest
Unit test to verify subscription handling via the API
- Author: James
Synopsis
class ChimpleSubscriberTest
extends SapphireTest
{
- // members
- protected boolean $usesDatabase = true;
- private static string $test_email_domain = "";
- private static string $test_email_user = "";
- private static bool $test_use_plus = true;
- // methods
- public void testSubscriber()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Uses
- SilverStripe\Core\Config\Configurable
Members
private
- $test_email_domain
—
string
e.g example.com - $test_email_user
—
string
e.g bob.smith - $test_use_plus
—
NSWDPC\Chimple\Tests\bool
use plus notation in email address
protected
- $usesDatabase