You are here

private function AddThisFunctionalityTestCase::createAndLoginUser in AddThis 7.4

1 call to AddThisFunctionalityTestCase::createAndLoginUser()
AddThisFunctionalityTestCase::setUp in tests/AddThisFunctionalityTestCase.test
Sets up a Drupal site for running functional and integration tests.

File

tests/AddThisFunctionalityTestCase.test, line 302
Tests for the AddThis-module.

Class

AddThisFunctionalityTestCase
@file Tests for the AddThis-module.

Code

private function createAndLoginUser() {
  $this->user = $this
    ->createAdminUser();
  $this
    ->drupalLogin($this->user);
}