Fixup updatechecker tests

This commit is contained in:
Johannes Zellner
2018-02-06 19:21:44 +01:00
parent 11d740682e
commit 3eb11ee20a
3 changed files with 7 additions and 4 deletions

View File

@@ -168,7 +168,7 @@ function checkBoxUpdates(callback) {
}
// only send notifications if update pattern is 'never'
settings.getAppAutoupdatePattern(function (error, result) {
settings.getBoxAutoupdatePattern(function (error, result) {
if (error) debug(error);
else if (result === constants.AUTOUPDATE_PATTERN_NEVER) mailer.boxUpdateAvailable(true /* hasSubscription */, updateInfo.version, updateInfo.changelog);