You are here

protected function TestSocialSimpleTest::setUp in Social simple 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Functional/TestSocialSimpleTest.php \Drupal\Tests\social_simple\Functional\TestSocialSimpleTest::setUp()

Overrides TestSocialSimpleTestBase::setUp

File

tests/src/Functional/TestSocialSimpleTest.php, line 15

Class

TestSocialSimpleTest
Provides tests for Social simple module.

Namespace

Drupal\Tests\social_simple\Functional

Code

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

  // Create a super admin.
  $this->adminUser = $this
    ->drupalCreateUser(array_keys(\Drupal::service('user.permissions')
    ->getPermissions()));
}