Skip to content

Commit 1560cc9

Browse files
committed
fix
1 parent 8327d5f commit 1560cc9

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

stac_fastapi/api/tests/test_app.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ def get_search(
188188
)
189189

190190
assert landing.status_code == 200, landing.text
191-
assert "Catalog Queryables" in [link.get("title") for link in landing.json()["links"]]
191+
assert "Queryables available for this Catalog" in [
192+
link.get("title") for link in landing.json()["links"]
193+
]
192194
assert get_search.status_code == 200, get_search.text
193195
assert post_search.status_code == 200, post_search.text
194196

@@ -221,7 +223,9 @@ def get_search(
221223
)
222224

223225
assert landing.status_code == 200, landing.text
224-
assert "Catalog Queryables" in [link.get("title") for link in landing.json()["links"]]
226+
assert "Queryables available for this Catalog" in [
227+
link.get("title") for link in landing.json()["links"]
228+
]
225229
assert get_search.status_code == 200, get_search.text
226230
assert post_search.status_code == 200, post_search.text
227231

stac_fastapi/types/stac_fastapi/types/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ async def landing_page(self, **kwargs) -> stac.LandingPage:
604604
{
605605
"rel": Relations.queryables.value,
606606
"type": MimeTypes.jsonschema.value,
607-
"title": "Catalog Queryables",
607+
"title": "Queryables available for this Catalog",
608608
"href": urljoin(base_url, "queryables"),
609609
"method": "GET",
610610
}

0 commit comments

Comments
 (0)