protected function MandrillTemplateTestCase::setUp in Mandrill 8
Pre-test setup function.
Enables dependencies. Sets the mandrill_api_key variable to the test key.
Overrides BrowserTestBase::setUp
File
- modules/mandrill_template/ tests/ src/ Functional/ MandrillTemplateTestCase.php, line 32 
- Test class and methods for the Mandrill Template module.
Class
- MandrillTemplateTestCase
- Test Mandrill Template functionality.
Namespace
Drupal\mandrill_template\TestsCode
protected function setUp() {
  parent::setUp();
  $config = \Drupal::service('config.factory')
    ->getEditable('mandrill.settings');
  $config
    ->set('mandrill_api_key', 'MANDRILL_TEST_API_KEY');
}