Browse Source

updated UserModelTest

v3-dev
REJack 6 years ago
parent
commit
7498104002
No known key found for this signature in database
GPG Key ID: 4A44B48700429F46
  1. 2
      .gitignore
  2. 6
      tests/Aauth/Database/UserModelTest.php

2
.gitignore vendored

@ -1,7 +1,5 @@
###CI4###
.env
public/.htaccess
public/favicon.ico
public/index.php

6
tests/Aauth/Database/UserModelTest.php

@ -1,15 +1,13 @@
<?php namespace Tests\Aauth\Database;
use Config\Services;
use CodeIgniter\Test\CIDatabaseTestCase;
use CodeIgniter\Database;
use \App\Models\Aauth\UserModel as UserModel;
class UserModelTest extends CIDatabaseTestCase
{
protected $refresh = true;
protected $basePath = APPPATH . 'Database/Migrations';
protected $basePath = TESTPATH . '../application' . 'Database/Migrations';
protected $namespace = 'App';
@ -17,7 +15,7 @@ class UserModelTest extends CIDatabaseTestCase
{
parent::setUp();
$this->model = new UserModel();
$this->model = new UserModel($this->db);
}
//--------------------------------------------------------------------

Loading…
Cancel
Save