Skip to content

Commit

Permalink
Fix metric handler test
Browse files Browse the repository at this point in the history
  • Loading branch information
anbsky committed Dec 18, 2024
1 parent 4f2410f commit e714feb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestInvalidEvent(t *testing.T) {

func TestInvalidMethod(t *testing.T) {
rr := testMetricUIEvent(t, http.MethodGet, "", map[string]string{})
assert.Equal(t, http.StatusMethodNotAllowed, rr.Code)
assert.Equal(t, http.StatusNotFound, rr.Code)
}

func TestTimeToStartEvent(t *testing.T) {
Expand Down

0 comments on commit e714feb

Please sign in to comment.