protected function AuthmapTest::setUp in External Authentication 8
Same name in this branch
- 8 tests/src/Unit/AuthmapTest.php \Drupal\Tests\externalauth\Unit\AuthmapTest::setUp()
- 8 tests/src/Kernel/AuthmapTest.php \Drupal\Tests\externalauth\Kernel\AuthmapTest::setUp()
Same name and namespace in other branches
- 2.0.x tests/src/Kernel/AuthmapTest.php \Drupal\Tests\externalauth\Kernel\AuthmapTest::setUp()
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ AuthmapTest.php, line 32
Class
- AuthmapTest
- Tests the Authmap service.
Namespace
Drupal\Tests\externalauth\KernelCode
protected function setUp() {
parent::setUp();
$this->authmap = \Drupal::service('externalauth.authmap');
$this
->installSchema('externalauth', [
'authmap',
]);
$this
->installEntitySchema('user');
}