You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/testutil/unit/http_mocker.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ type MockHTTPDataConfig struct {
30
30
IsDiffMustSubstrings []string// Only include diff request for specific substrings, for example /clusters (avoids project create requests)
31
31
QueryVars []string// Substitute this query vars. Useful when differentiating responses based on query args, for example ?providerName=AWS/AZURE returns different responses
32
32
AllowMissingRequestsbool// When false will require all API calls to be made.
33
-
AllowOutOfOrderbool// When true will allow a GET request returned after a POST to be returned before the POST.
33
+
AllowOutOfOrderbool// When true will allow a GET request returned after a POST to be returned before the POST. Not used but kept for debugging.
34
34
}
35
35
36
36
func (cMockHTTPDataConfig) WithAllowOutOfOrder() MockHTTPDataConfig { //nolint: gocritic // Want each test run to have its own config (hugeParam: c is heavy (112 bytes); consider passing it by pointer)
0 commit comments