From dbd717053b9d15da88cfb435d64e93fecaf7f1a7 Mon Sep 17 00:00:00 2001 From: REJack Date: Thu, 24 Jan 2019 14:43:22 +0100 Subject: [PATCH] updated tests --- tests/Aauth/Database/GroupModelTest.php | 2 +- tests/Aauth/Database/GroupToGroupModelTest.php | 2 +- tests/Aauth/Database/GroupToUserModelTest.php | 2 +- tests/Aauth/Database/GroupVariableModelTest.php | 2 +- tests/Aauth/Database/LoginAttemptModelTest.php | 2 +- tests/Aauth/Database/LoginTokenModelTest.php | 2 +- tests/Aauth/Database/PermModelTest.php | 2 +- tests/Aauth/Database/PermToGroupModelTest.php | 2 +- tests/Aauth/Database/PermToUserModelTest.php | 2 +- tests/Aauth/Database/UserModelTest.php | 2 +- tests/Aauth/Database/UserVariableModelTest.php | 2 +- tests/Aauth/Libraries/Aauth/AccessTest.php | 2 +- tests/Aauth/Libraries/Aauth/GroupTest.php | 2 +- tests/Aauth/Libraries/Aauth/GroupVariablesTest.php | 2 +- tests/Aauth/Libraries/Aauth/LoginTest.php | 2 +- tests/Aauth/Libraries/Aauth/PermTest.php | 2 +- tests/Aauth/Libraries/Aauth/UserTest.php | 2 +- tests/Aauth/Libraries/Aauth/UserVariablesTest.php | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/Aauth/Database/GroupModelTest.php b/tests/Aauth/Database/GroupModelTest.php index d79f646..1313448 100644 --- a/tests/Aauth/Database/GroupModelTest.php +++ b/tests/Aauth/Database/GroupModelTest.php @@ -7,7 +7,7 @@ class GroupModelTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Database/GroupToGroupModelTest.php b/tests/Aauth/Database/GroupToGroupModelTest.php index e64a5a9..23b9548 100644 --- a/tests/Aauth/Database/GroupToGroupModelTest.php +++ b/tests/Aauth/Database/GroupToGroupModelTest.php @@ -8,7 +8,7 @@ class GroupToGroupModelTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Database/GroupToUserModelTest.php b/tests/Aauth/Database/GroupToUserModelTest.php index cb40e8c..3e8b504 100644 --- a/tests/Aauth/Database/GroupToUserModelTest.php +++ b/tests/Aauth/Database/GroupToUserModelTest.php @@ -8,7 +8,7 @@ class GroupToUserModelTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Database/GroupVariableModelTest.php b/tests/Aauth/Database/GroupVariableModelTest.php index bf294ec..30e0847 100644 --- a/tests/Aauth/Database/GroupVariableModelTest.php +++ b/tests/Aauth/Database/GroupVariableModelTest.php @@ -8,7 +8,7 @@ class GroupVariableModelTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Database/LoginAttemptModelTest.php b/tests/Aauth/Database/LoginAttemptModelTest.php index bfe4b2c..464d965 100644 --- a/tests/Aauth/Database/LoginAttemptModelTest.php +++ b/tests/Aauth/Database/LoginAttemptModelTest.php @@ -7,7 +7,7 @@ class LoginAttemptModelTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Database/LoginTokenModelTest.php b/tests/Aauth/Database/LoginTokenModelTest.php index dd7a352..42aca3a 100644 --- a/tests/Aauth/Database/LoginTokenModelTest.php +++ b/tests/Aauth/Database/LoginTokenModelTest.php @@ -7,7 +7,7 @@ class LoginTokenModelTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Database/PermModelTest.php b/tests/Aauth/Database/PermModelTest.php index 7b7f582..c1c0d61 100644 --- a/tests/Aauth/Database/PermModelTest.php +++ b/tests/Aauth/Database/PermModelTest.php @@ -8,7 +8,7 @@ class PermModelTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Database/PermToGroupModelTest.php b/tests/Aauth/Database/PermToGroupModelTest.php index 1f2f652..bec1aac 100644 --- a/tests/Aauth/Database/PermToGroupModelTest.php +++ b/tests/Aauth/Database/PermToGroupModelTest.php @@ -8,7 +8,7 @@ class PermToGroupModelTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Database/PermToUserModelTest.php b/tests/Aauth/Database/PermToUserModelTest.php index 21edd09..df2eaf8 100644 --- a/tests/Aauth/Database/PermToUserModelTest.php +++ b/tests/Aauth/Database/PermToUserModelTest.php @@ -8,7 +8,7 @@ class PermToUserModelTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Database/UserModelTest.php b/tests/Aauth/Database/UserModelTest.php index 51db285..8ab08dd 100644 --- a/tests/Aauth/Database/UserModelTest.php +++ b/tests/Aauth/Database/UserModelTest.php @@ -8,7 +8,7 @@ class UserModelTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Database/UserVariableModelTest.php b/tests/Aauth/Database/UserVariableModelTest.php index 9662cf1..fb56c96 100644 --- a/tests/Aauth/Database/UserVariableModelTest.php +++ b/tests/Aauth/Database/UserVariableModelTest.php @@ -8,7 +8,7 @@ class UserVariableModelTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Libraries/Aauth/AccessTest.php b/tests/Aauth/Libraries/Aauth/AccessTest.php index 7131c19..fb45a83 100644 --- a/tests/Aauth/Libraries/Aauth/AccessTest.php +++ b/tests/Aauth/Libraries/Aauth/AccessTest.php @@ -18,7 +18,7 @@ class AccessTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Libraries/Aauth/GroupTest.php b/tests/Aauth/Libraries/Aauth/GroupTest.php index e4a357b..e0549e7 100644 --- a/tests/Aauth/Libraries/Aauth/GroupTest.php +++ b/tests/Aauth/Libraries/Aauth/GroupTest.php @@ -18,7 +18,7 @@ class GroupTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Libraries/Aauth/GroupVariablesTest.php b/tests/Aauth/Libraries/Aauth/GroupVariablesTest.php index fe7dde2..b3aae7b 100644 --- a/tests/Aauth/Libraries/Aauth/GroupVariablesTest.php +++ b/tests/Aauth/Libraries/Aauth/GroupVariablesTest.php @@ -14,7 +14,7 @@ class GroupVariablesTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Libraries/Aauth/LoginTest.php b/tests/Aauth/Libraries/Aauth/LoginTest.php index 5e5b3f3..7fdc185 100644 --- a/tests/Aauth/Libraries/Aauth/LoginTest.php +++ b/tests/Aauth/Libraries/Aauth/LoginTest.php @@ -24,7 +24,7 @@ class LoginTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Libraries/Aauth/PermTest.php b/tests/Aauth/Libraries/Aauth/PermTest.php index 476ba8b..c8a818b 100644 --- a/tests/Aauth/Libraries/Aauth/PermTest.php +++ b/tests/Aauth/Libraries/Aauth/PermTest.php @@ -14,7 +14,7 @@ class PermTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Libraries/Aauth/UserTest.php b/tests/Aauth/Libraries/Aauth/UserTest.php index 4d6c47f..9e0b044 100644 --- a/tests/Aauth/Libraries/Aauth/UserTest.php +++ b/tests/Aauth/Libraries/Aauth/UserTest.php @@ -14,7 +14,7 @@ class UserTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App'; diff --git a/tests/Aauth/Libraries/Aauth/UserVariablesTest.php b/tests/Aauth/Libraries/Aauth/UserVariablesTest.php index 30c2ff5..6b34c07 100644 --- a/tests/Aauth/Libraries/Aauth/UserVariablesTest.php +++ b/tests/Aauth/Libraries/Aauth/UserVariablesTest.php @@ -18,7 +18,7 @@ class UserVariablesTest extends CIDatabaseTestCase { protected $refresh = true; - protected $basePath = TESTPATH . '../application' . 'Database/Migrations'; + protected $basePath = FCPATH . '../app/Database/Migrations'; protected $namespace = 'App';