Skip to content

Commit

Permalink
Fix up tests in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
czechboy0 committed Nov 29, 2023
1 parent 9a35d8e commit f137600
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Examples/GreetingService/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ let package = Package(
),
.testTarget(
name: "GreetingServiceMockTests",
dependencies: ["GreetingService", .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime")]
dependencies: [
"GreetingService", .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIVapor", package: "swift-openapi-vapor"),
.product(name: "Vapor", package: "vapor"),
]
),
]
)
5 changes: 4 additions & 1 deletion Examples/GreetingServiceClient/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ let package = Package(
),
.testTarget(
name: "GreetingServiceMockTests",
dependencies: ["GreetingServiceClient", .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime")]
dependencies: [
"GreetingServiceClient", .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"),
]
),
]
)

0 comments on commit f137600

Please sign in to comment.