diff --git a/tests/unit/system/classes/PluginManagerTest.php b/tests/unit/system/classes/PluginManagerTest.php index 9130b926c..6c18dae25 100644 --- a/tests/unit/system/classes/PluginManagerTest.php +++ b/tests/unit/system/classes/PluginManagerTest.php @@ -212,5 +212,17 @@ class PluginManagerTest extends TestCase $result = $this->manager->isDisabled('DependencyTest.NotFound'); $this->assertTrue($result); + + /** + * Test case for https://github.com/octobercms/october/pull/4838 + */ + $result = $this->manager->isDisabled('dependencyTest\Wrongcase'); + $this->assertFalse($result); + + $result = $this->manager->isDisabled('dependencyTest.Wrongcase'); + $this->assertFalse($result); + + $result = $this->manager->isDisabled('dependencytest.notfound'); + $this->assertTrue($result); } }