mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-03 03:59:07 +02:00
Validate upload server config at startup
This commit is contained in:
@@ -90,7 +90,7 @@ func Test_S3HandlerGetUploadURL(t *testing.T) {
|
||||
t.Setenv(bucketVar, bucketName)
|
||||
|
||||
mux := http.NewServeMux()
|
||||
err = configureS3Handlers(mux, newRateLimiter())
|
||||
err = configureS3Handlers(mux, newTestRateLimiter(t))
|
||||
require.NoError(t, err)
|
||||
|
||||
req := httptest.NewRequest(http.MethodGet, types.GetURLPath+"?id=test-file", nil)
|
||||
|
||||
Reference in New Issue
Block a user