Migrated the Website service and library targets to use Persistence package with PostgreSQL instead.
This commit is contained in:
@@ -395,8 +395,8 @@ private extension AppTests {
|
||||
func app(
|
||||
staticFilesPath: String,
|
||||
strictTransportSecurity: String? = nil
|
||||
) async -> some ApplicationProtocol {
|
||||
await application(
|
||||
) async throws -> some ApplicationProtocol {
|
||||
try await application(
|
||||
reader: reader(
|
||||
staticFilesPath: staticFilesPath,
|
||||
strictTransportSecurity: strictTransportSecurity
|
||||
|
||||
@@ -39,7 +39,7 @@ struct HealthControllerTests {
|
||||
driver: .inMemory,
|
||||
logger: Logger(label: "test")
|
||||
)
|
||||
let fluent = service()
|
||||
let fluent = try service()
|
||||
|
||||
do {
|
||||
try await app(
|
||||
@@ -70,7 +70,7 @@ struct HealthControllerTests {
|
||||
// Port 1 on the loopback interface has nothing listening, so the probe's connection is refused
|
||||
// immediately instead of timing out.
|
||||
let service = Service(
|
||||
driver: .mysql(
|
||||
driver: .postgres(
|
||||
.init(
|
||||
host: "127.0.0.1",
|
||||
port: 1,
|
||||
@@ -83,7 +83,7 @@ struct HealthControllerTests {
|
||||
),
|
||||
logger: Logger(label: "test")
|
||||
)
|
||||
let fluent = service()
|
||||
let fluent = try service()
|
||||
|
||||
do {
|
||||
try await app(
|
||||
|
||||
Reference in New Issue
Block a user