You are here

public function SimpleNewsUpgradePathTestCase::setUp in Simplenews 7.2

Same name and namespace in other branches
  1. 7 tests/simplenews.test \SimpleNewsUpgradePathTestCase::setUp()

Overrides DrupalWebTestCase::setUp() for upgrade testing.

Overrides UpgradePathTestCase::setUp

See also

DrupalWebTestCase::prepareDatabasePrefix()

DrupalWebTestCase::changeDatabasePrefix()

DrupalWebTestCase::prepareEnvironment()

2 calls to SimpleNewsUpgradePathTestCase::setUp()
SimpleNewsUpgradePath61TestCase::setUp in tests/simplenews.test
Overrides DrupalWebTestCase::setUp() for upgrade testing.
SimpleNewsUpgradePath62TestCase::setUp in tests/simplenews.test
Overrides DrupalWebTestCase::setUp() for upgrade testing.
2 methods override SimpleNewsUpgradePathTestCase::setUp()
SimpleNewsUpgradePath61TestCase::setUp in tests/simplenews.test
Overrides DrupalWebTestCase::setUp() for upgrade testing.
SimpleNewsUpgradePath62TestCase::setUp in tests/simplenews.test
Overrides DrupalWebTestCase::setUp() for upgrade testing.

File

tests/simplenews.test, line 1911
Simplenews test functions.

Class

SimpleNewsUpgradePathTestCase

Code

public function setUp() {
  parent::setUp();

  // Use the test mail class instead of the default mail handler class.
  $this
    ->variable_set('mail_system', array(
    'default-system' => 'TestingMailSystem',
  ));
}