You are here

protected function RemoteUrlTest::setUp in Entity Share 8.3

Same name and namespace in other branches
  1. 8.2 modules/entity_share_client/tests/src/Kernel/RemoteUrlTest.php \Drupal\Tests\entity_share_client\Kernel\RemoteUrlTest::setUp()

Overrides EntityKernelTestBase::setUp

File

modules/entity_share_client/tests/src/Kernel/RemoteUrlTest.php, line 44

Class

RemoteUrlTest
Tests remote url.

Namespace

Drupal\Tests\entity_share_client\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->authPluginManager = $this->container
    ->get('plugin.manager.entity_share_client_authorization');
  $this->keyValueStore = $this->container
    ->get('keyvalue')
    ->get(ClientAuthorizationInterface::LOCAL_STORAGE_KEY_VALUE_COLLECTION);
  $this
    ->installEntitySchema('remote');
}