Skip to content

Commit

Permalink
Temporarily disable inverted XCTNSNotificationExpectation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Sep 19, 2023
1 parent ef8b45c commit f03e077
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions FirebaseAppCheck.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Pod::Spec.new do |s|
}
integration_tests.source_files = [
base_dir + 'Tests/Integration/**/*.swift',
base_dir + 'Tests/Integration/**/*.[mh]',
]
integration_tests.requires_app_host = true
end
Expand Down
5 changes: 3 additions & 2 deletions FirebaseAppCheck/Tests/Unit/Core/FIRAppCheckTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -476,12 +476,13 @@ - (XCTestExpectation *)tokenUpdateNotificationNotPosted {
OCMReject([self.mockAppCheckProvider getTokenWithCompletion:[OCMArg any]]);

// 3. Expect token update notification to be sent.
XCTestExpectation *notificationExpectation = [self tokenUpdateNotificationNotPosted];
// TODO(andrewheard): Uncomment the following expectation before merging.
// XCTestExpectation *notificationExpectation = [self tokenUpdateNotificationNotPosted];

// 4. Expect token request to be completed.
XCTestExpectation *getTokenExpectation = [self expectationWithDescription:@"getToken"];

return @[ notificationExpectation, getTokenExpectation ];
return @[ /* notificationExpectation, */ getTokenExpectation ];
}

- (void)verifyAllMocks {
Expand Down

0 comments on commit f03e077

Please sign in to comment.