Skip to content

Commit

Permalink
Add missing public initializer to CurlyProvider
Browse files Browse the repository at this point in the history
...and change the test to use regular import instead of `@testable` so this kind of stuff never happens again.
  • Loading branch information
vzsg committed Mar 18, 2019
1 parent e3f271f commit 41f4025
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Sources/CurlyClient/CurlyProvider.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import Vapor

public class CurlyProvider: Provider {
public init() {
}

public func register(_ services: inout Services) throws {
services.register(CurlyClient.self)
services.register { _ in CurlyOptionStorage() }
Expand Down
2 changes: 1 addition & 1 deletion Tests/CurlyClientTests/CurlyClientTests.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import XCTest
import NIO
import Vapor
@testable import CurlyClient
import CurlyClient

final class CurlyClientTests: XCTestCase {
private func testApplication() throws -> Application {
Expand Down

0 comments on commit 41f4025

Please sign in to comment.