Fix objects test compile after Routes evictor change #130

Merged
benvin merged 1 commits from benvin/fix-objects-test-compile into master 2026-10-04 22:11:19 +11:00
Member

ObjectsHandler.Routes now takes an Evictor, but TestObjectsListPrefix still calls it with no arguments, so the api/v2 test package fails to compile on master.

  • pass the existing fakeEvictor to Routes in objects_test.go
ObjectsHandler.Routes now takes an Evictor, but TestObjectsListPrefix still calls it with no arguments, so the api/v2 test package fails to compile on master. - pass the existing fakeEvictor to Routes in objects_test.go
unkin-agent added 1 commit 2026-10-04 22:09:39 +11:00
Pass evictor to ObjectsHandler.Routes in objects test
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
0e38779a99
Author
Member

No findings.

No findings.
benvin merged commit bda762b10e into master 2026-10-04 22:11:19 +11:00
benvin deleted branch benvin/fix-objects-test-compile 2026-10-04 22:11:20 +11:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/artifactapi#130