Skip to content

Commit 0320b4e

Browse files
committed
Fix issue in tests
1 parent 2609531 commit 0320b4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Cases/GenericTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public function testDeletedModuleFiles() {
9292
}
9393

9494
//incorrect module class inheritence
95+
$this->expectException(\Exception::class);
9596
file_put_contents(rtrim(Modules::modulesDirectory(), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . "Test2" . DIRECTORY_SEPARATOR . "Module.php", "<?php namespace App\\Modules\\Test2; class Module { }");
9697
Modules::refreshModules();
9798
try {

0 commit comments

Comments
 (0)