You are here

public function RoleExpireApiTest::setUp in Role Expire 2.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/RoleExpireApiTest.php \Drupal\Tests\role_expire\Functional\RoleExpireApiTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/RoleExpireApiTest.php, line 49

Class

RoleExpireApiTest
Tests that the Role expire API works.

Namespace

Drupal\Tests\role_expire\Functional

Code

public function setUp() {
  parent::setUp();
  $this->apiService = $this->container
    ->get('role_expire.api');
}