diff options
author | Michael Lehenbauer <mikelehen@gmail.com> | 2017-12-18 14:21:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-18 14:21:11 -0800 |
commit | 8db0eb618d355c546e8f0894dc1e0799297c5659 (patch) | |
tree | e32cf46f60b463c5ab8a6c55b3f3c7a10c71cf7e /Firestore/Source/Remote | |
parent | 27472b5c26763987446114145e22e08a652b6296 (diff) |
Test cleanup: Adds a helper for waiting for FSTVoidErrorBlock callbacks.
* Add helper for waiting for FSTVoidErrorBlock callbacks.
* Remove errorEventHandler from FSTEventAccumulator.h too.
* Add synchronous enableNetwork / disableNetwork helpers.
* Workaround for batch writes test flakiness.
Diffstat (limited to 'Firestore/Source/Remote')
-rw-r--r-- | Firestore/Source/Remote/FSTRemoteStore.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Firestore/Source/Remote/FSTRemoteStore.m b/Firestore/Source/Remote/FSTRemoteStore.m index 12cffd4..b1d91ea 100644 --- a/Firestore/Source/Remote/FSTRemoteStore.m +++ b/Firestore/Source/Remote/FSTRemoteStore.m @@ -161,8 +161,8 @@ static const int kOnlineAttemptsBeforeFailure = 2; } /** - * Updates our OnlineState to the new state, updating local state and notifying the - * onlineStateHandler as appropriate. + * Updates our OnlineState to the new state, updating local state and notifying the + * onlineStateHandler as appropriate. */ - (void)updateOnlineState:(FSTOnlineState)newState { if (newState == FSTOnlineStateHealthy) { |