fix: use ping api instead of version api

This commit is contained in:
Revant Nandgaonkar 2023-07-24 12:27:08 +05:30
parent 9429501407
commit 50cf1408ac

View file

@ -39,7 +39,7 @@ def assets_cb(text: str):
@pytest.mark.parametrize( @pytest.mark.parametrize(
("url", "callback"), (("/", index_cb), ("/api/method/version", api_cb)) ("url", "callback"), (("/", index_cb), ("/api/method/ping", api_cb))
) )
def test_endpoints(url: str, callback: Any, frappe_site: str): def test_endpoints(url: str, callback: Any, frappe_site: str):
check_url_content( check_url_content(