From 6b518462f97116abcc9e543240dacc8f73ee907c Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Thu, 26 Mar 2026 15:35:25 -0400 Subject: [PATCH] test: update Bruno API collection with new test data values Update test environment and request files to use different test data: - Update job_id variable to new test job UUID - Change search test queries from Foundation/Asimov to 1984/Orwell - Change series search from Foundation to Haley - Add force parameter to scanner test These updates provide fresh test data for API testing and demonstrate search functionality with different media items. --- bruno/environments/Bookhoard.yml | 2 +- bruno/media-items/search/Exact Match With Quotes.yml | 4 ++-- bruno/media-items/search/Field Values Search - Authors.yml | 4 ++-- bruno/media-items/search/Field Values Search - Series.yml | 4 ++-- bruno/scanner/Scan Media Items.yml | 3 ++- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/bruno/environments/Bookhoard.yml b/bruno/environments/Bookhoard.yml index 754942b..14dc363 100644 --- a/bruno/environments/Bookhoard.yml +++ b/bruno/environments/Bookhoard.yml @@ -15,7 +15,7 @@ variables: - name: library_id value: d2932c11-cd39-4c4a-b940-124b75964099 - name: job_id - value: c5766af2-44a5-4537-abb0-e3fa42fc93f9 + value: 5174b357-83a3-456b-ba0f-4a7a9b8e63c2 - name: rating value: "5" - name: is_visible diff --git a/bruno/media-items/search/Exact Match With Quotes.yml b/bruno/media-items/search/Exact Match With Quotes.yml index 30dfec5..7746e3f 100644 --- a/bruno/media-items/search/Exact Match With Quotes.yml +++ b/bruno/media-items/search/Exact Match With Quotes.yml @@ -5,13 +5,13 @@ info: http: method: GET - url: '{{base_url}}/api/media-items/search?library_id={{library_id}}&q="Foundation and Empire"' + url: '{{base_url}}/api/media-items/search?library_id={{library_id}}&q="1984"' params: - name: library_id value: "{{library_id}}" type: query - name: q - value: '"Foundation and Empire"' + value: '"1984"' type: query auth: inherit diff --git a/bruno/media-items/search/Field Values Search - Authors.yml b/bruno/media-items/search/Field Values Search - Authors.yml index 6bd3455..75a8a3d 100644 --- a/bruno/media-items/search/Field Values Search - Authors.yml +++ b/bruno/media-items/search/Field Values Search - Authors.yml @@ -5,13 +5,13 @@ info: http: method: GET - url: "{{base_url}}/api/media-items/search?library_id={{library_id}}&author=asimov&limit=50" + url: "{{base_url}}/api/media-items/search?library_id={{library_id}}&author=orwell&limit=50" params: - name: library_id value: "{{library_id}}" type: query - name: author - value: asimov + value: orwell type: query - name: limit value: "50" diff --git a/bruno/media-items/search/Field Values Search - Series.yml b/bruno/media-items/search/Field Values Search - Series.yml index eb096d2..b4eda9d 100644 --- a/bruno/media-items/search/Field Values Search - Series.yml +++ b/bruno/media-items/search/Field Values Search - Series.yml @@ -5,13 +5,13 @@ info: http: method: GET - url: "{{base_url}}/api/media-items/search?library_id={{library_id}}&series=foundation&limit=50" + url: "{{base_url}}/api/media-items/search?library_id={{library_id}}&series=haley&limit=50" params: - name: library_id value: "{{library_id}}" type: query - name: series - value: foundation + value: haley type: query - name: limit value: "50" diff --git a/bruno/scanner/Scan Media Items.yml b/bruno/scanner/Scan Media Items.yml index 73b373f..974a129 100644 --- a/bruno/scanner/Scan Media Items.yml +++ b/bruno/scanner/Scan Media Items.yml @@ -17,7 +17,8 @@ http: type: json data: |- { - "library_id": "{{library_id}}" + "library_id": "{{library_id}}", + "force": true } auth: inherit