Integrated the AppOptions options to the"init(name: archivesPath: )" initialisation function for the AppBuilder type in the library target.
This commit is contained in:
@@ -8,10 +8,6 @@ struct AppBuilderTests {
|
||||
|
||||
// MARK: Properties
|
||||
|
||||
private let appBuilder = AppBuilder(
|
||||
appName: "DoxyTest",
|
||||
folderArchives: "Resources/Archives/Test"
|
||||
)
|
||||
private let arguments = TestArguments()
|
||||
|
||||
// MARK: Route tests
|
||||
@@ -21,6 +17,10 @@ struct AppBuilderTests {
|
||||
uri: String,
|
||||
expects status: HTTPResponse.Status
|
||||
) async throws {
|
||||
let appBuilder = AppBuilder(
|
||||
name: arguments.name,
|
||||
archivesPath: arguments.archivesPath
|
||||
)
|
||||
let app = try await appBuilder(arguments)
|
||||
|
||||
try await app.test(.router) { client in
|
||||
|
||||
Reference in New Issue
Block a user