Skip to content

Commit

Permalink
test: remove failed test for deprecated Config class
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kenjis committed Oct 4, 2023
1 parent 6d6512f commit dbca19c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/system/Config/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ public function testCreateSharedInstance(): void
$this->assertSame($Config2, $Config);
}

public function testCreateNonConfig(): void
{
$Config = Config::get('Constants', false);

$this->assertNull($Config);
}

/**
* @runInSeparateProcess
* @preserveGlobalState disabled
Expand Down

0 comments on commit dbca19c

Please sign in to comment.