diff --git a/Crashlytics/UnitTests/Mocks/FIRCLSMockFileManager.m b/Crashlytics/UnitTests/Mocks/FIRCLSMockFileManager.m index 955e701d065..b89d05bbff8 100644 --- a/Crashlytics/UnitTests/Mocks/FIRCLSMockFileManager.m +++ b/Crashlytics/UnitTests/Mocks/FIRCLSMockFileManager.m @@ -41,9 +41,7 @@ - (BOOL)removeItemAtPath:(NSString *)path { // If we set up the expectation, and we went over the expected count or removes, fulfill the // expectation if (self.removeExpectation && self.removeCount >= self.expectedRemoveCount) { - dispatch_async(dispatch_get_main_queue(), ^{ - [self.removeExpectation fulfill]; - }); + [self.removeExpectation fulfill]; } return YES;