Skip to content

Commit

Permalink
undoing testable
Browse files Browse the repository at this point in the history
  • Loading branch information
rafiki270 committed Mar 20, 2018
1 parent 3834583 commit 7b133ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import Foundation
@testable import Service


extension TestableProperty where TestableType == Services {
extension Services {

public mutating func remove<S>(type: S.Type) {
if let existing = element.factories.index(where: {
if let existing = factories.index(where: {
$0.serviceType is S.Type
}) {
element.factories.remove(at: existing)
factories.remove(at: existing)
}
}

Expand Down
1 change: 0 additions & 1 deletion Sources/VaporTestTools/TestTools.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ extension Request: Testable { }
extension HTTPRequest: Testable { }
extension Response: Testable { }
extension Application: Testable { }
extension Services: Testable { }


extension Dictionary: Testable where Key == String, Value == String {
Expand Down

0 comments on commit 7b133ff

Please sign in to comment.