summaryrefslogtreecommitdiff
path: root/tests/Unit/Helpers/AuthenticatorServiceProviderTest.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-07-28 15:33:01 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-07-29 00:58:02 +0200
commit62ed77ab25f8f2cf5103caf572079ebc2b50f6bc (patch)
tree8bd2e4b7b32a3389ca4e2e4ccbaee1168a2fed67 /tests/Unit/Helpers/AuthenticatorServiceProviderTest.php
parentbb45d460987032bedca6870df4386cfc4c01800f (diff)
Groups: Fix Naming and IDs
Diffstat (limited to 'tests/Unit/Helpers/AuthenticatorServiceProviderTest.php')
-rw-r--r--tests/Unit/Helpers/AuthenticatorServiceProviderTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Unit/Helpers/AuthenticatorServiceProviderTest.php b/tests/Unit/Helpers/AuthenticatorServiceProviderTest.php
index ab9b23ec..175d720e 100644
--- a/tests/Unit/Helpers/AuthenticatorServiceProviderTest.php
+++ b/tests/Unit/Helpers/AuthenticatorServiceProviderTest.php
@@ -22,6 +22,7 @@ class AuthenticatorServiceProviderTest extends ServiceProviderTest
$config = new Config();
$config->set('password_algorithm', PASSWORD_DEFAULT);
+ $config->set('auth_guest_role', 42);
$app->instance('config', $config);
$serviceProvider = new AuthenticatorServiceProvider($app);
@@ -34,5 +35,6 @@ class AuthenticatorServiceProviderTest extends ServiceProviderTest
/** @var Authenticator $auth */
$auth = $app->get(Authenticator::class);
$this->assertEquals(PASSWORD_DEFAULT, $auth->getPasswordAlgorithm());
+ $this->assertEquals(42, $auth->getGuestRole());
}
}