diff --git a/home/forms/search.py b/home/forms/search.py index 6d1dad96e..ba9bd4680 100644 --- a/home/forms/search.py +++ b/home/forms/search.py @@ -8,7 +8,7 @@ def get_domain_choices() -> list[tuple[str, str]]: """Make API call to obtain domain choices""" # TODO: pull in the domains from the catalogue client # facets = client.search_facets() - # domain_list = facets.options("domain") + # domain_list = facets.options("domains") return [ ("", "All Domains"), ("urn:li:domain:HMCTS", "HMCTS"), diff --git a/tests/conftest.py b/tests/conftest.py index 4f7237019..167b89ce0 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -47,7 +47,6 @@ def generate_page(page_size=20, result_type: ResultType = None): results.append( SearchResult( id=fake.unique.name(), - result_type=choice((ResultType.DATA_PRODUCT, ResultType.TABLE)), result_type=( choice((ResultType.DATA_PRODUCT, ResultType.TABLE)) if result_type is None