From 7ee1f6116fe784e993d54f35bb6453f54685fb9f Mon Sep 17 00:00:00 2001 From: Harpreet Sangar Date: Sat, 31 Jan 2026 18:18:16 +0530 Subject: [PATCH] Fix failing tests. --- test/collection_test.dart | 5 ++++- test/collections_test.dart | 5 ++++- test/models/schema_test.dart | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/test/collection_test.dart b/test/collection_test.dart index 8adb3bf..9b754e0 100644 --- a/test/collection_test.dart +++ b/test/collection_test.dart @@ -90,7 +90,10 @@ void main() { "type": "int32", "drop": true, } - ] + ], + "synonym_sets": [], + "curation_sets": [], + "metadata": {} }), ).thenAnswer( (realInvocation) => Future.value({ diff --git a/test/collections_test.dart b/test/collections_test.dart index 5ff730d..0e49189 100644 --- a/test/collections_test.dart +++ b/test/collections_test.dart @@ -92,7 +92,10 @@ void main() { 'facet': true, } ], - "default_sorting_field": "num_employees" + "default_sorting_field": "num_employees", + "synonym_sets": [], + "curation_sets": [], + "metadata": {}, }, )).thenAnswer((realInvocation) => Future.value({ "name": "companies", diff --git a/test/models/schema_test.dart b/test/models/schema_test.dart index 947527a..47513bf 100644 --- a/test/models/schema_test.dart +++ b/test/models/schema_test.dart @@ -68,6 +68,9 @@ void main() { {"name": "num_employees", "type": "int32"}, {"name": "country", "type": "string", "facet": true} ], + 'synonym_sets': [], + 'curation_sets': [], + 'metadata': {}, "default_sorting_field": "num_employees", "num_documents": 0, "enable_nested_fields": true,