Integrated the AppOptions options to the"init(name: archivesPath: )" initialisation function for the AppBuilder type in the library target.

This commit is contained in:
2025-03-26 00:31:16 +01:00
parent f9fc29c8da
commit b13ba625f4
3 changed files with 26 additions and 20 deletions
@@ -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