From d8c63b8b8e696adf7010359d8a5298477a6e9b8b Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Thu, 26 Mar 2026 21:01:47 -0400 Subject: [PATCH] test: update Bruno API collection with current database test values Update test data values across Bruno API collection to reflect current database state and improve test parameter relevance: - Environment variables: Refresh library_id and job_id UUIDs to current database values for accurate testing - Combined Search test: Update tags_filter from "scifi" to "fict" for broader genre coverage and extend year_max from 2000 to 2026 for modern title inclusivity - Fuzzy Author Filter test: Change author_filter from "Conan" to "orwell" for consistent author search testing These updates ensure API tests use valid reference data that matches the development database state. --- bruno/environments/Bookhoard.yml | 4 ++-- bruno/media-items/search/Combined Search and Filters.yml | 6 +++--- bruno/media-items/search/Fuzzy Author Filter.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bruno/environments/Bookhoard.yml b/bruno/environments/Bookhoard.yml index 14dc363..52cfbd1 100644 --- a/bruno/environments/Bookhoard.yml +++ b/bruno/environments/Bookhoard.yml @@ -13,9 +13,9 @@ variables: - name: note_id value: 7710a602-g29b-61d4-c716-446655440002 - name: library_id - value: d2932c11-cd39-4c4a-b940-124b75964099 + value: dd03d719-76c8-4398-93ec-9258d2becf85 - name: job_id - value: 5174b357-83a3-456b-ba0f-4a7a9b8e63c2 + value: d5554991-1a13-4f60-9a70-82d19ed1abe2 - name: rating value: "5" - name: is_visible diff --git a/bruno/media-items/search/Combined Search and Filters.yml b/bruno/media-items/search/Combined Search and Filters.yml index 014282e..22269d4 100644 --- a/bruno/media-items/search/Combined Search and Filters.yml +++ b/bruno/media-items/search/Combined Search and Filters.yml @@ -5,7 +5,7 @@ info: http: method: GET - url: "{{base_url}}/api/media-items/search?library_id={{library_id}}&q=1984&author_filter=orwell&tags_filter=scifi&year_min=1850&year_max=2000&sort=title ASC" + url: "{{base_url}}/api/media-items/search?library_id={{library_id}}&q=1984&author_filter=orwell&tags_filter=fict&year_min=1850&year_max=2026&sort=title ASC" params: - name: library_id value: "{{library_id}}" @@ -17,13 +17,13 @@ http: value: orwell type: query - name: tags_filter - value: scifi + value: fict type: query - name: year_min value: "1850" type: query - name: year_max - value: "2000" + value: "2026" type: query - name: sort value: title ASC diff --git a/bruno/media-items/search/Fuzzy Author Filter.yml b/bruno/media-items/search/Fuzzy Author Filter.yml index 36901e3..7b398b5 100644 --- a/bruno/media-items/search/Fuzzy Author Filter.yml +++ b/bruno/media-items/search/Fuzzy Author Filter.yml @@ -5,13 +5,13 @@ info: http: method: GET - url: "{{base_url}}/api/media-items/search?library_id={{library_id}}&author_filter=Conan" + url: "{{base_url}}/api/media-items/search?library_id={{library_id}}&author_filter=orwell" params: - name: library_id value: "{{library_id}}" type: query - name: author_filter - value: Conan + value: orwell type: query auth: inherit