test(contracts): whitelist the unified row's two new keys on search rows

The H4 row-completion commit made abridged/audio_metadata emit on the
search wire (the endpoint serializes the row directly) — exactly what
the pin exists to surface. Whitelisted per the additive rule with the
changelog entry.
This commit is contained in:
John O'Keefe committed 2026-10-17 16:57:20 -04:00
1 parent c538efe722
commit 010c0cb287
2 files changed
+9

No files matched your search

+4
View File
@@ -656,6 +656,10 @@ func TestContractPin_SearchJSON(t *testing.T) {
"kobo_content_id", "kobo_metadata", "tags_search", "contributors_search",
"narrators", "file_sha256", "opf_identifier", "opf_uuid",
"hash_confidence", "library_name", "library_type_name",
// H4: the unified row gained the two lagging columns (additive,
// EXPLAIN plan-identical) and the search endpoint serializes the
// row directly, so they emit here.
"abridged", "audio_metadata",
}
url := fmt.Sprintf("%s/api/media-items/search?q=%s&library_id=%s", setup.Server.URL, url.QueryEscape(fx.itemTitle), fx.libraryID)