aboutsummaryrefslogtreecommitdiff
path: root/internal/gallery/query_photos_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gallery/query_photos_test.go')
-rw-r--r--internal/gallery/query_photos_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/gallery/query_photos_test.go b/internal/gallery/query_photos_test.go
index b72b6ec..b60cfea 100644
--- a/internal/gallery/query_photos_test.go
+++ b/internal/gallery/query_photos_test.go
@@ -311,3 +311,13 @@ func TestQueryPhotosFilterThenSortThenPaginate(t *testing.T) {
assertIDs(t, got, "3")
}
+
+func TestQueryPhotosIgnoreSearchForNow(t *testing.T) {
+ photos := makePhotos(3)
+
+ got := QueryPhotos(photos, Query{
+ Search: "vacation",
+ })
+
+ assertIDs(t, got, "0", "1", "2")
+}