Browse Source

updated Config/Aauth & Aauth/UserTest

v3-dev
REJack 6 years ago
parent
commit
6b394875b5
No known key found for this signature in database
GPG Key ID: 4A44B48700429F46
  1. 2
      application/Config/Aauth.php
  2. 2
      tests/Aauth/Libraries/Aauth/UserTest.php

2
application/Config/Aauth.php

@ -75,7 +75,7 @@ class Aauth extends BaseConfig
| (default: '[a-zA-Z0-9]{3,}') | (default: '[a-zA-Z0-9]{3,}')
*/ */
public $userVerification = false; public $userVerification = false;
public $userRegexPattern = '[a-zA-Z0-9]{3,}'; public $userRegexPattern = '[a-zA-Z0-9]{3,}\s';
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

2
tests/Aauth/Libraries/Aauth/UserTest.php

@ -1,5 +1,6 @@
<?php namespace Tests\Aauth\Libraries\Aauth; <?php namespace Tests\Aauth\Libraries\Aauth;
use Config\Aauth as AauthConfig;
use Config\Logger; use Config\Logger;
use Config\Services; use Config\Services;
use Tests\Support\Log\TestLogger; use Tests\Support\Log\TestLogger;
@ -25,6 +26,7 @@ class UserTest extends CIDatabaseTestCase
parent::setUp(); parent::setUp();
$this->library = new Aauth(null, true); $this->library = new Aauth(null, true);
$this->config = new AauthConfig();
$_COOKIE = []; $_COOKIE = [];
$_SESSION = []; $_SESSION = [];
} }

Loading…
Cancel
Save