We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea0a5d2 + 3570fca commit e31166eCopy full SHA for e31166e
tests/system/Database/DatabaseTestCaseTest.php
@@ -3,9 +3,12 @@
3
use CodeIgniter\Test\CIDatabaseTestCase;
4
use Config\Services;
5
6
+/**
7
+ * @group DatabaseLive
8
+ */
9
class DatabaseTestCaseTest extends CIDatabaseTestCase
10
{
- protected $loaded = false;
11
+ protected static $loaded = false;
12
13
/**
14
* Should the db be refreshed before
@@ -41,10 +44,10 @@ class DatabaseTestCaseTest extends CIDatabaseTestCase
41
44
42
45
public function setUp(): void
43
46
- if (! $this->loaded)
47
+ if (! self::$loaded)
48
49
Services::autoloader()->addNamespace('Tests\Support\MigrationTestMigrations', SUPPORTPATH . 'MigrationTestMigrations');
- $this->loaded = true;
50
+ self::$loaded = true;
51
}
52
53
parent::setUp();
0 commit comments