1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-13 01:24:11 +02:00

Make testConfig great again!

This commit is contained in:
Enno Gottschalk
2016-03-02 16:14:27 +01:00
parent 1fa35ae827
commit 102c9c6846
11 changed files with 66 additions and 26 deletions

View File

@@ -300,8 +300,9 @@ Tomahawk.Resolver = {
},
_adapter_testConfig: function (config) {
return RSVP.Promise.resolve(this.testConfig(config)).then(function () {
return {result: Tomahawk.ConfigTestResultType.Success};
return RSVP.Promise.resolve(this.testConfig(config)).then(function (results) {
results = results || Tomahawk.ConfigTestResultType.Success;
return results;
});
}
};