Fix tests

This commit is contained in:
lilia 2015-05-14 15:44:43 -07:00
parent 5a7ab54ee6
commit 029c9754f0
7 changed files with 34 additions and 21 deletions

View file

@ -4,10 +4,10 @@ function AxolotlStore() {
AxolotlStore.prototype = {
getMyIdentityKey: function() {
return this.get('identityKey');
return Promise.resolve(this.get('identityKey'));
},
getMyRegistrationId: function() {
return this.get('registrationId');
return Promise.resolve(this.get('registrationId'));
},
put: function(key, value) {
if (key === undefined || value === undefined || key === null || value === null)