Add more unit tests for the PluginManager (#4838)
This commit is contained in:
parent
61b4ef6a47
commit
9aa6b9d9d1
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue