Skip to content

Commit

Permalink
changes from pull request review
Browse files Browse the repository at this point in the history
  • Loading branch information
amagyar-iohk committed Jan 19, 2024
1 parent f3da9d4 commit f71b263
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 18 deletions.
1 change: 0 additions & 1 deletion AtalaPrismSDK/Pluto/Tests/Helper/KeychianMock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class KeychainMock: KeychainStore, KeychainProvider {
service: String,
account: String
) throws {
print("Add KEY", key, service, account)
keys[service+account] = key
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class DIDCommConnectionRunner {

let message = try await pluto.getAllMessagesReceived()
.flatMap { $0.publisher }
.first { $0.thid == request.thid }
.first { $0.thid == request.id }
.await()

guard
Expand Down
6 changes: 3 additions & 3 deletions E2E/e2eTests/Source/Abilities/Sdk.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Sdk: Ability {

func setUp(_ actor: Actor) async throws {
client = try await Client()
try await client!.initialize(actor)
try await client!.initialize()
}

func tearDown() async throws {
Expand Down Expand Up @@ -79,7 +79,7 @@ class Sdk: Ability {
)
}

func initialize(_ actor: Actor) async throws {
func initialize() async throws {
try await prismAgent.start()

prismAgent.handleReceivedMessagesEvents()
Expand Down Expand Up @@ -130,7 +130,7 @@ class Sdk: Ability {
let url = URL(string: Config.mediatorOobUrl)!
let invitationUrl: String = try await Api.get(from: url)
let base64data: String = String(invitationUrl.split(separator: "?_oob=").last!)
let decodedData = Client.fromBase64(base64data)
let decodedData = Data(base64Encoded: base64data)!
let json = try (JSONSerialization.jsonObject(with: decodedData, options: []) as? [String: Any])!
let from = (json["from"] as? String)!
return try DID(string: from)
Expand Down
8 changes: 0 additions & 8 deletions E2E/e2eTests/Source/Interactions/UseSdk.swift

This file was deleted.

This file was deleted.

0 comments on commit f71b263

Please sign in to comment.