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.
1 parent 2609531 commit 0320b4eCopy full SHA for 0320b4e
tests/Cases/GenericTest.php
@@ -92,6 +92,7 @@ public function testDeletedModuleFiles() {
92
}
93
94
//incorrect module class inheritence
95
+ $this->expectException(\Exception::class);
96
file_put_contents(rtrim(Modules::modulesDirectory(), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . "Test2" . DIRECTORY_SEPARATOR . "Module.php", "<?php namespace App\\Modules\\Test2; class Module { }");
97
Modules::refreshModules();
98
try {
0 commit comments