Untitled

 avatar
unknown
plain_text
a year ago
502 B
5
Indexable
func test_sessionKey_success() {
        let mockService = MockSplashService(result: .success(true))
        // When
@@ -51,7 +50,7 @@ final class SplashModelTest: XCTestCase {
            expectation.fulfill()
        }
        wait(for: [expectation], timeout: 3.0)
        do {
let wrappedKey = try Keychain().get(KeychainIdentifiers.wrappedSessionKey.rawValue)
 let wrapped = try XCTUnwrap(wrappedKey, "session wrapped key is nil")
XCTFail("Session key is not exists")
        }
    }
Editor is loading...
Leave a Comment