Skip to content

Commit

Permalink
adjust test for prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Mar 26, 2024
1 parent a1b2f05 commit 457e748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/webapi/webapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ func TestServer_renderSamples(t *testing.T) {
SpamFilter: mockSpamFilter,
})
w := httptest.NewRecorder()
server.renderSamples(w, "samples_list.html")
server.renderSamples(w, "samples_list")
assert.Equal(t, http.StatusOK, w.Code)
assert.Equal(t, "text/html; charset=utf-8", w.Header().Get("Content-Type"))
t.Log(w.Body.String())
Expand Down

0 comments on commit 457e748

Please sign in to comment.