Made the test initializers package-visible.
This commit is contained in:
1 parent
ff00fdd852
commit
2364e2d859
4 files changed
+6
-6
No files matched your search
@@ -71,7 +71,7 @@ public struct RateLimitMiddleware {
|
||||
}
|
||||
|
||||
/// Creates a new middleware instance that waits with `sleep`, for testing.
|
||||
init(
|
||||
package init(
|
||||
maximumRetries: Int,
|
||||
baseDelay: TimeInterval,
|
||||
maximumDelay: TimeInterval,
|
||||
|
||||
@@ -74,7 +74,7 @@ public actor APIKeyTokenProvider {
|
||||
}
|
||||
|
||||
/// Creates a token provider that reads the current date from `now`, for testing.
|
||||
init(
|
||||
package init(
|
||||
issuerID: String?,
|
||||
keyID: String,
|
||||
privateKey: String,
|
||||
|
||||
Reference in new issue
Block a user