You are here

protected function SparkpostTestCase::setUp in Sparkpost email 7

Same name and namespace in other branches
  1. 7.2 tests/sparkpost.test \SparkpostTestCase::setUp()

Setup.

Overrides DrupalWebTestCase::setUp

File

tests/sparkpost.test, line 42
Test class for the Sparkpost module.

Class

SparkpostTestCase
@file Test class for the Sparkpost module.

Code

protected function setUp() {
  parent::setUp('sparkpost');
  $this->user = $this
    ->drupalCreateUser(array(
    'access content',
  ));
  $this->admin = $this
    ->drupalCreateUser(array(
    'access content',
    'administer site configuration',
    'administer sparkpost',
  ));
}