Skip to content

Commit

Permalink
Fix tests after removing endpoint generic
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinejr committed Jan 27, 2018
1 parent a24cd1b commit 6af0de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/EndpointClosureSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class EndpointClosureSpec: QuickSpec {
task = target.task
}

return Endpoint<HTTPBin>(url: URL(target: target).absoluteString, sampleResponseClosure: {.networkResponse(200, target.sampleData)}, method: target.method, task: task, httpHeaderFields: target.headers)
return Endpoint(url: URL(target: target).absoluteString, sampleResponseClosure: {.networkResponse(200, target.sampleData)}, method: target.method, task: task, httpHeaderFields: target.headers)
}
provider = MoyaProvider<HTTPBin>(endpointClosure: endpointClosure, manager: sessionManager)
}
Expand Down

0 comments on commit 6af0de8

Please sign in to comment.