Skip to content

Commit

Permalink
set required env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Sep 20, 2024
1 parent e50d721 commit ab6000a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion s3-file-provider/Tests/AppTests/AppTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ final class AppTests: XCTestCase {
}

func testApp() async throws {
let environment = try await Environment().merging(with: .dotEnv())
var environment = Environment()
environment.set("s3_file_region", value: "us-east-1")
environment.set("s3_file_bucket", value: "test-bucket")
let args = TestArguments()
let app = try await buildApplication(args, environment: environment)
try await app.test(.router) { client in
Expand Down

0 comments on commit ab6000a

Please sign in to comment.