Fix when multiple authData keys are passed

This commit is contained in:
Florent Vilmart
2016-03-10 18:59:19 -05:00
parent 9c5f14981e
commit bcffcbade2
3 changed files with 234 additions and 57 deletions

View File

@@ -163,6 +163,7 @@ describe('rest create', () => {
}, (err) => {
expect(err.code).toEqual(Parse.Error.UNSUPPORTED_SERVICE);
expect(err.message).toEqual('This authentication method is unsupported.');
NoAnnonConfig.authDataManager.setEnableAnonymousUsers(true);
done();
})
});
@@ -199,7 +200,7 @@ describe('rest create', () => {
done();
});
});
it('stores pointers with a _p_ prefix', (done) => {
var obj = {
foo: 'bar',