Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
linting
  • Loading branch information
Emyrk committed Jun 26, 2024
commit b5e6460a3230e8a7ce7c78197f56a71fb5ca7560
2 changes: 1 addition & 1 deletion coderd/pagination_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
func TestPagination(t *testing.T) {
t.Parallel()
const invalidValues = "Query parameters have invalid values"
emptyReq, _ := http.NewRequest(http.MethodGet, "/", nil)
emptyReq, _ := http.NewRequestWithContext(context.Background(), http.MethodGet, "/", nil)
defaults, ok := parsePagination(httptest.NewRecorder(), emptyReq)
require.True(t, ok)

Expand Down