Started PHPUnit Tests

This commit is contained in:
kremsy
2017-04-15 13:21:49 +02:00
parent 19c500c105
commit eb6dc3db1a
6 changed files with 132 additions and 7 deletions

View File

@ -145,6 +145,7 @@ class UpdateManager implements CallbackListener, CommandListener, TimerListener
Logger::logError('Error on UpdateCheck: ' . $error);
return;
}
$versions = json_decode($dataJson);
if (!$versions || !isset($versions[0])) {
call_user_func($function);