You are here

public function RoleExpireApiTest::setUp in Role Expire 8

Same name and namespace in other branches
  1. 2.x 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');
}