From 4326ad9d757be3f4c3c175babb726f518ad56465 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Mon, 12 Jan 2026 20:17:08 +0800 Subject: [PATCH 1/2] fix: `SUPPORTPATH` may be undefined in some contexts --- system/Test/CIUnitTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Test/CIUnitTestCase.php b/system/Test/CIUnitTestCase.php index 81d669138422..107b149ab119 100644 --- a/system/Test/CIUnitTestCase.php +++ b/system/Test/CIUnitTestCase.php @@ -124,7 +124,7 @@ abstract class CIUnitTestCase extends TestCase * * @var string */ - protected $basePath = SUPPORTPATH . 'Database'; + protected $basePath = 'tests/_support/Database'; /** * The namespace(s) to help us find the migration classes. From 0762546c35c0d07c5d6c866ee184e625695cae12 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Mon, 12 Jan 2026 21:41:10 +0800 Subject: [PATCH 2/2] Update system/Test/CIUnitTestCase.php Co-authored-by: Michal Sniatala --- system/Test/CIUnitTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Test/CIUnitTestCase.php b/system/Test/CIUnitTestCase.php index 107b149ab119..edfa98df5c06 100644 --- a/system/Test/CIUnitTestCase.php +++ b/system/Test/CIUnitTestCase.php @@ -124,7 +124,7 @@ abstract class CIUnitTestCase extends TestCase * * @var string */ - protected $basePath = 'tests/_support/Database'; + protected $basePath = TESTPATH . '_support/Database'; /** * The namespace(s) to help us find the migration classes.