mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
More cleanups (#12715)
* PHPDoc * Replace Auth > Illuminate\Support\Facades\Auth * Return inside when() * use str_replace correct * Misc * dead code * use int $port * styleci
This commit is contained in:
@@ -97,13 +97,9 @@ class OSModulesTest extends DBTestCase
|
||||
$expected_data = $helper->getTestData();
|
||||
$results = $helper->generateTestData($this->getSnmpsim(), true);
|
||||
} catch (FileNotFoundException $e) {
|
||||
$this->fail($e->getMessage());
|
||||
|
||||
return;
|
||||
return $this->fail($e->getMessage());
|
||||
} catch (InvalidModuleException $e) {
|
||||
$this->fail($e->getMessage());
|
||||
|
||||
return;
|
||||
return $this->fail($e->getMessage());
|
||||
}
|
||||
|
||||
if (is_null($results)) {
|
||||
|
Reference in New Issue
Block a user