Skip to content

Commit

Permalink
clean up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeopt committed Aug 10, 2022
1 parent d8f4d10 commit 622832f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ class MockZaiusApiManager: ZaiusGraphQLApiManager {
receivedApiHost = apiHost

DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(1)) {
let qualified = segmentsToCheck.isEmpty ? [] : [segmentsToCheck.first!]
let qualified = segmentsToCheck.isEmpty ? [] : [segmentsToCheck.sorted{ $0 < $1 }.first!]
completionHandler(qualified, nil)
}
}
Expand Down

0 comments on commit 622832f

Please sign in to comment.