Skip to content

Commit

Permalink
chore(): updated fetchAuthSession Unit Test
Browse files Browse the repository at this point in the history
  • Loading branch information
tyllark committed Feb 20, 2025
1 parent c1d150a commit e1f711a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ class NativeAuthPluginTests: XCTestCase {
switch result {
case .success(let session):
XCTAssertEqual(session.isSignedIn, isSignedIn)
break
case .failure(let error):
if(error.code != "null-error" && error.code != "channel-error") {
XCTFail("fetchAuthSession failed with error: \(error)")
}
XCTFail("fetchAuthSession failed with error: \(error)")
break
}
}
waitForExpectations(timeout: 1)
Expand Down

0 comments on commit e1f711a

Please sign in to comment.