From 6af0de8be1b20e35261717964d0fde5a1048d42f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mro=CC=81z?= Date: Sat, 27 Jan 2018 19:42:33 +0100 Subject: [PATCH] Fix tests after removing endpoint generic --- Tests/EndpointClosureSpec.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/EndpointClosureSpec.swift b/Tests/EndpointClosureSpec.swift index b552b8cfe..ce79ce172 100644 --- a/Tests/EndpointClosureSpec.swift +++ b/Tests/EndpointClosureSpec.swift @@ -24,7 +24,7 @@ final class EndpointClosureSpec: QuickSpec { task = target.task } - return Endpoint(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(endpointClosure: endpointClosure, manager: sessionManager) }