You are here

protected function SmsDevelMessageTest::setUp in SMS Framework 8

Same name and namespace in other branches
  1. 2.x modules/sms_devel/tests/src/Functional/SmsDevelMessageTest.php \Drupal\Tests\sms_devel\Functional\SmsDevelMessageTest::setUp()
  2. 2.1.x modules/sms_devel/tests/src/Functional/SmsDevelMessageTest.php \Drupal\Tests\sms_devel\Functional\SmsDevelMessageTest::setUp()

Overrides SmsFrameworkBrowserTestBase::setUp

File

modules/sms_devel/tests/src/Functional/SmsDevelMessageTest.php, line 33

Class

SmsDevelMessageTest
Tests the message form.

Namespace

Drupal\Tests\sms_devel\Functional

Code

protected function setUp() {
  parent::setUp();
  $user = $this
    ->drupalCreateUser([
    'sms_devel form',
  ]);
  $this
    ->drupalLogin($user);
  $this->gateway = $this
    ->createMemoryGateway();
  $this
    ->setFallbackGateway($this->gateway);
}