mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Added jwt public and private key path params to user component
This commit is contained in:
@@ -61,8 +61,8 @@ class ChangePasswordFormTest extends TestCase {
|
||||
'enableSession' => false,
|
||||
'loginUrl' => null,
|
||||
'secret' => 'secret',
|
||||
'publicKey' => 'data/certs/public.crt',
|
||||
'privateKey' => 'data/certs/private.key',
|
||||
'publicKeyPath' => 'data/certs/public.crt',
|
||||
'privateKeyPath' => 'data/certs/private.key',
|
||||
]]);
|
||||
$component->shouldNotReceive('terminateSessions');
|
||||
|
||||
@@ -123,8 +123,8 @@ class ChangePasswordFormTest extends TestCase {
|
||||
'enableSession' => false,
|
||||
'loginUrl' => null,
|
||||
'secret' => 'secret',
|
||||
'publicKey' => 'data/certs/public.crt',
|
||||
'privateKey' => 'data/certs/private.key',
|
||||
'publicKeyPath' => 'data/certs/public.crt',
|
||||
'privateKeyPath' => 'data/certs/private.key',
|
||||
]]);
|
||||
$component->shouldReceive('terminateSessions')->once()->withArgs([$account, Component::KEEP_CURRENT_SESSION]);
|
||||
|
||||
|
@@ -24,8 +24,8 @@ class EnableTwoFactorAuthFormTest extends TestCase {
|
||||
'enableSession' => false,
|
||||
'loginUrl' => null,
|
||||
'secret' => 'secret',
|
||||
'publicKey' => 'data/certs/public.crt',
|
||||
'privateKey' => 'data/certs/private.key',
|
||||
'publicKeyPath' => 'data/certs/public.crt',
|
||||
'privateKeyPath' => 'data/certs/private.key',
|
||||
]]);
|
||||
$component->shouldReceive('terminateSessions')->withArgs([$account, Component::KEEP_CURRENT_SESSION]);
|
||||
|
||||
|
Reference in New Issue
Block a user