Skip to content

Commit dbca19c

Browse files
committed
test: remove failed test for deprecated Config class
1) CodeIgniter\Config\ConfigTest::testCreateNonConfig ErrorException: Constant EVENT_PRIORITY_LOW already defined /home/runner/work/CodeIgniter4/CodeIgniter4/app/Config/Constants.php:84 /home/runner/work/CodeIgniter4/CodeIgniter4/system/Config/Factories.php:271 /home/runner/work/CodeIgniter4/CodeIgniter4/system/Config/Factories.php:148 /home/runner/work/CodeIgniter4/CodeIgniter4/system/Config/Config.php:31 /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Config/ConfigTest.php:51
1 parent 6d6512f commit dbca19c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/system/Config/ConfigTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ public function testCreateSharedInstance(): void
4646
$this->assertSame($Config2, $Config);
4747
}
4848

49-
public function testCreateNonConfig(): void
50-
{
51-
$Config = Config::get('Constants', false);
52-
53-
$this->assertNull($Config);
54-
}
55-
5649
/**
5750
* @runInSeparateProcess
5851
* @preserveGlobalState disabled

0 commit comments

Comments
 (0)