diff options
Diffstat (limited to 'internal/api/api_test.go')
| -rw-r--r-- | internal/api/api_test.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/api/api_test.go b/internal/api/api_test.go index dce42e4..cc5a6b0 100644 --- a/internal/api/api_test.go +++ b/internal/api/api_test.go @@ -45,7 +45,11 @@ func (f *fakeGalleryService) Reload(ctx context.Context) error { return f.reloadErr } -func (f fakeGalleryService) Gallery(ctx context.Context) ([]gallery.Photo, error) { +func (f fakeGalleryService) Gallery( + ctx context.Context, + query gallery.Query, +) ([]gallery.Photo, error) { + _ = query return f.photos, f.err } |