Skip to content

Commit

Permalink
fix(tests): webhook_test expected <-> actual
Browse files Browse the repository at this point in the history
  • Loading branch information
n9 committed Sep 30, 2023
1 parent a10a3c7 commit 1079d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applicationset/webhook/webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func TestWebhookHandler(t *testing.T) {
w := httptest.NewRecorder()

h.Handler(w, req)
assert.Equal(t, w.Code, test.expectedStatusCode)
assert.Equal(t, test.expectedStatusCode, w.Code)

list := &v1alpha1.ApplicationSetList{}
err = fc.List(context.TODO(), list)
Expand Down

0 comments on commit 1079d37

Please sign in to comment.