Skip to content

Commit

Permalink
Update managedidentity_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
4gust committed Oct 29, 2024
1 parent 716cbce commit 8319e22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/managedidentity/managedidentity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ func TestRetryFunction(t *testing.T) {
reqBody := bytes.NewBufferString(tt.requestBody)
req, _ := http.NewRequest("POST", "https://example.com", reqBody)
finalResp, err := retry(tt.maxRetries, mockClient, req)
if err != nil {
t.Fatalf("error was not expected %s", err)
}
if finalResp.StatusCode != tt.expectedStatus {
t.Fatalf("Expected status code %d, got %d", tt.expectedStatus, finalResp.StatusCode)
}
Expand Down

0 comments on commit 8319e22

Please sign in to comment.