Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
502 B
1
Indexable
Never
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")
        }
    }
Leave a Comment