Browse Source

update LoginTest

v3-dev
REJack 6 years ago
parent
commit
72d48b64eb
No known key found for this signature in database
GPG Key ID: 4A44B48700429F46
  1. 3
      tests/Aauth/Libraries/Aauth/LoginTest.php

3
tests/Aauth/Libraries/Aauth/LoginTest.php

@ -134,9 +134,10 @@ class LoginTest extends CIDatabaseTestCase
$session->set('user', [
'loggedIn' => true,
]);
helper('text');
$session = $this->getInstance();
$this->library = new Aauth(null, $session);
$config = new AauthConfig();
$expire = $config->loginRemember;
$userId = base64_encode(1);

Loading…
Cancel
Save