From da225e2ab6982932a87e018cdb7ead09173662e8 Mon Sep 17 00:00:00 2001 From: MrSmart00 Date: Sat, 17 Aug 2024 18:30:54 +0900 Subject: [PATCH] Fix: update unit test --- app-ios/Tests/StaffFeatureTests/StaffFeatureTests.swift | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app-ios/Tests/StaffFeatureTests/StaffFeatureTests.swift b/app-ios/Tests/StaffFeatureTests/StaffFeatureTests.swift index 2a2a63458..5058f46ec 100644 --- a/app-ios/Tests/StaffFeatureTests/StaffFeatureTests.swift +++ b/app-ios/Tests/StaffFeatureTests/StaffFeatureTests.swift @@ -11,7 +11,14 @@ final class StaffFeatureTests: XCTestCase { } withDependencies: { $0.staffClient.streamStaffs = { AsyncThrowingStream { - $0.yield([.init(id: 0, username: "testValue", profileUrl: "https://2024.droidkaigi.jp/", iconUrl: "https://avatars.githubusercontent.com/u/10727543?s=200&v=4"),]) + $0.yield([ + .init( + id: 0, + name: "testValue", + icon: URL(string: "https://avatars.githubusercontent.com/u/10727543?s=200&v=4")!, + github: URL(string: "https://2024.droidkaigi.jp/")! + ) + ]) $0.finish() } }