Skip to content

Commit

Permalink
Set integration tests to run on macos-13 (apollographql/apollo-ios-de…
Browse files Browse the repository at this point in the history
  • Loading branch information
ejensen authored and gh-action-runner committed May 31, 2024
1 parent 4a7167c commit 522176b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Sources/Apollo/NetworkFetchInterceptor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public class NetworkFetchInterceptor: ApolloInterceptor, Cancellable {
return
}

let task = self.client.sendRequest(urlRequest) { [weak self] result in
let taskDescription = "\(Operation.operationType) \(Operation.operationName)"
let task = self.client.sendRequest(urlRequest, taskDescription: taskDescription) { [weak self] result in
guard let self = self else {
return
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/Apollo/URLSessionClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegat
sendRequest(
request,
taskDescription: nil,
rawTaskCompletionHandler: nil,
rawTaskCompletionHandler: rawTaskCompletionHandler,
completion: completion
)
}
Expand Down

0 comments on commit 522176b

Please sign in to comment.