Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test names
  • Loading branch information
LouiseHsu committed Dec 10, 2022
commit 89ba69ccc33c37b98092a5fbfa5c71ebc23cd468
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ - (void)testFailedAuthWithBiometrics {
[self waitForExpectationsWithTimeout:kTimeout handler:nil];
}

- (void)testFailedWithErrorCode {
- (void)testFailedWithKnownErrorCode {
FLTLocalAuthPlugin *plugin = [[FLTLocalAuthPlugin alloc] init];
id mockAuthContext = OCMClassMock([LAContext class]);
plugin.authContextOverrides = @[ mockAuthContext ];
Expand Down Expand Up @@ -212,6 +212,7 @@ - (void)testHandleAuthReplyFailedWithSystemCancel {
[plugin handleMethodCall:call
result:^(id _Nullable result) {
XCTAssertTrue([NSThread isMainThread]);
XCTAssertTrue([result isKindOfClass:[NSNumber class]]);
XCTAssertFalse([result boolValue]);
[expectation fulfill];
}];
Expand Down