Skip to content

Commit

Permalink
Simplified initialisation.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdoe committed Mar 21, 2024
1 parent b55d704 commit 194ed65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CCMenuUITests/TestHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ class TestHelper {

@discardableResult
static func startEmbeddedServer() throws -> HBApplication {
let webapp = HBApplication(configuration: .init(address: .hostname("localhost", port: 8086)))
let webapp = HBApplication(configuration: .init(address: .hostname("localhost", port: 8086), logLevel: .info))
// If the following fails with "operation not permitted" see: https://developer.apple.com/forums/thread/114907
webapp.middleware.add(HBLogRequestsMiddleware(.info, includeHeaders: false))
try webapp.start()
return webapp
}
Expand Down

0 comments on commit 194ed65

Please sign in to comment.