Skip to content

Commit

Permalink
Fix: update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSmart00 committed Aug 17, 2024
1 parent 2852c24 commit da225e2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app-ios/Tests/StaffFeatureTests/StaffFeatureTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down

0 comments on commit da225e2

Please sign in to comment.