Skip to content

Commit 3b8ed67

Browse files
authored
don't call stopMocking
1 parent c6fd550 commit 3b8ed67

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

FirebaseRemoteConfig/Tests/Unit/RCNRemoteConfigTest.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ - (void)tearDown {
311311
_userDefaultsMock = nil;
312312
for (int i = 0; i < RCNTestRCNumTotalInstances; i++) {
313313
[(id)_configInstances[i] stopMocking];
314-
[(id)_configFetch[i] stopMocking];
314+
// [(id)_configFetch[i] stopMocking];
315315
}
316316
[_configInstances removeAllObjects];
317317
[_configFetch removeAllObjects];
@@ -1654,8 +1654,9 @@ - (void)testRemoveRealtimeListener {
16541654
OCMVerify([self->_configRealtime[i] pauseRealtimeStream]);
16551655
[expectations[i] fulfill];
16561656
});
1657+
1658+
[self waitForExpectationsWithTimeout:_expectationTimeout handler:nil];
16571659
}
1658-
[self waitForExpectations:expectations.copy timeout:_expectationTimeout];
16591660
}
16601661

16611662
- (void)testRealtimeFetch {

0 commit comments

Comments
 (0)