You are here

public function OauthTokenFileStorageTest::setUp in Apigee Edge 8

Throws

\Exception

Overrides KernelTestBase::setUp

File

tests/src/Kernel/OauthTokenFileStorageTest.php, line 66

Class

OauthTokenFileStorageTest
OAuth cache storage tests.

Namespace

Drupal\Tests\apigee_edge\Kernel

Code

public function setUp() {
  parent::setUp();
  $this->testTokenData = [
    'access_token' => mb_strtolower($this
      ->randomMachineName(32)),
    'token_type' => 'bearer',
    'expires_in' => 300,
    'refresh_token' => mb_strtolower($this
      ->randomMachineName(32)),
    'scope' => 'create',
  ];
}