protected function SimpleOauthAuthenticationTest::setUp in Simple OAuth (OAuth2) & OpenID Connect 8
Same name and namespace in other branches
- 8.4 tests/src/Unit/Authentication/Provider/SimpleOauthAuthenticationTest.php \Drupal\Tests\simple_oauth\Unit\Authentication\Provider\SimpleOauthAuthenticationTest::setUp()
- 8.2 tests/src/Unit/Authentication/Provider/SimpleOauthAuthenticationTest.php \Drupal\Tests\simple_oauth\Unit\Authentication\Provider\SimpleOauthAuthenticationTest::setUp()
- 8.3 tests/src/Unit/Authentication/Provider/SimpleOauthAuthenticationTest.php \Drupal\Tests\simple_oauth\Unit\Authentication\Provider\SimpleOauthAuthenticationTest::setUp()
- 5.x tests/src/Unit/Authentication/Provider/SimpleOauthAuthenticationTest.php \Drupal\Tests\simple_oauth\Unit\Authentication\Provider\SimpleOauthAuthenticationTest::setUp()
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ Authentication/ Provider/ SimpleOauthAuthenticationTest.php, line 93
Class
- SimpleOauthAuthenticationTest
- Class SimpleOauthAuthenticationTest.
Namespace
Drupal\Tests\simple_oauth\Unit\Authentication\ProviderCode
protected function setUp() {
parent::setUp();
$config_factory = $this
->prophesize(ConfigFactoryInterface::class);
$entity_manager = $this
->prophesize(EntityManagerInterface::class);
$this->provider = new SimpleOauthAuthenticationProvider($config_factory
->reveal(), $entity_manager
->reveal());
}