aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Example/Tests/SpecTests
diff options
context:
space:
mode:
authorGravatar Michael Lehenbauer <mikelehen@gmail.com>2017-12-19 16:05:20 -0800
committerGravatar GitHub <noreply@github.com>2017-12-19 16:05:20 -0800
commitfaca4ea11be26953b0a031e104e7dfcbd6ed9024 (patch)
tree5a248613aeef8e88c7358985f696bec619032805 /Firestore/Example/Tests/SpecTests
parent9ddf3637ac984abfe16d4ebef6ff3947b4e946c1 (diff)
Rename all the onlineStateChanged methods to applyChangedOnlineState. (#574)
Diffstat (limited to 'Firestore/Example/Tests/SpecTests')
-rw-r--r--Firestore/Example/Tests/SpecTests/FSTSyncEngineTestDriver.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Firestore/Example/Tests/SpecTests/FSTSyncEngineTestDriver.m b/Firestore/Example/Tests/SpecTests/FSTSyncEngineTestDriver.m
index d618aee..da63933 100644
--- a/Firestore/Example/Tests/SpecTests/FSTSyncEngineTestDriver.m
+++ b/Firestore/Example/Tests/SpecTests/FSTSyncEngineTestDriver.m
@@ -139,9 +139,9 @@ NS_ASSUME_NONNULL_BEGIN
return self;
}
-- (void)watchStreamDidChangeOnlineState:(FSTOnlineState)onlineState {
- [self.syncEngine applyOnlineStateChange:onlineState];
- [self.eventManager watchStreamDidChangeOnlineState:onlineState];
+- (void)applyChangedOnlineState:(FSTOnlineState)onlineState {
+ [self.syncEngine applyChangedOnlineState:onlineState];
+ [self.eventManager applyChangedOnlineState:onlineState];
}
- (void)start {