aboutsummaryrefslogtreecommitdiff
path: root/internal/api/api_test.go
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-07-17 16:42:21 +0530
committerRanXom <saiyedshizain@gmail.com>2026-07-17 16:42:21 +0530
commit9237991fa79f9b90a3f14f8b3c42dab25d029f05 (patch)
tree1df25421e3a5f6aafa2cecf7aa063d1b8cd1e65d /internal/api/api_test.go
parent46d2bf8bb5a0d18bdbe613a9346a5757b39e0a35 (diff)
downloadgalleryd-9237991fa79f9b90a3f14f8b3c42dab25d029f05.tar.xz
galleryd-9237991fa79f9b90a3f14f8b3c42dab25d029f05.zip
feat(gallery): introduce gallery query
Diffstat (limited to 'internal/api/api_test.go')
-rw-r--r--internal/api/api_test.go6
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
}