We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f1edd8 commit 86a00c5Copy full SHA for 86a00c5
Sources/App/Core/Dependencies/EnvironmentClient.swift
@@ -69,15 +69,7 @@ extension EnvironmentClient: DependencyKey {
69
70
71
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
- }
+ static var testValue: Self { Self() }
81
}
82
83
0 commit comments