fix test
This commit is contained in:
parent
15bb3014b9
commit
baa8321453
|
@ -203,7 +203,7 @@ module.exports = {
|
||||||
var username = uuid();
|
var username = uuid();
|
||||||
// Because it waits for answer this takes some time..
|
// Because it waits for answer this takes some time..
|
||||||
return callbackTest((callback) => Realm.Sync.User.register('http://fake_host.local', username, 'password', callback), (error, user) => {
|
return callbackTest((callback) => Realm.Sync.User.register('http://fake_host.local', username, 'password', callback), (error, user) => {
|
||||||
assertIsError(error, 'ECONNRESET');
|
assertIsError(error);
|
||||||
TestCase.assertUndefined(user);
|
TestCase.assertUndefined(user);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue