Skip to content

Commit 86a00c5

Browse files
committed
Change back client
1 parent 4f1edd8 commit 86a00c5

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Sources/App/Core/Dependencies/EnvironmentClient.swift

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,7 @@ extension EnvironmentClient: DependencyKey {
6969

7070

7171
extension EnvironmentClient: TestDependencyKey {
72-
static var testValue: Self {
73-
var testValue = Self()
74-
testValue.current = { .development }
75-
testValue.awsAccessKeyId = { nil }
76-
testValue.awsDocsBucket = { "awsDocsBucket" }
77-
testValue.awsReadmeBucket = { "awsReadmeBucket" }
78-
testValue.awsSecretAccessKey = { nil }
79-
return testValue
80-
}
72+
static var testValue: Self { Self() }
8173
}
8274

8375

0 commit comments

Comments
 (0)