Skip to content

Commit f7a3bae

Browse files
committed
Fix contract test
1 parent ffd2578 commit f7a3bae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_test_contract/platform_api/test_workflows.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
def test_list_workflows(httpx_mock, platform_client: UnstructuredClient, platform_api_url: str):
11-
url = f"{platform_api_url}/api/v1/workflows/"
11+
url = f"{platform_api_url}/api/v1/workflows/?sort_by=id"
1212

1313
httpx_mock.add_response(
1414
method="GET",
@@ -69,7 +69,7 @@ def test_list_workflows(httpx_mock, platform_client: UnstructuredClient, platfor
6969
def test_list_workflows_empty(
7070
httpx_mock, platform_client: UnstructuredClient, platform_api_url: str
7171
):
72-
url = f"{platform_api_url}/api/v1/workflows/"
72+
url = f"{platform_api_url}/api/v1/workflows/?sort_by=id"
7373

7474
httpx_mock.add_response(
7575
method="GET",
@@ -100,7 +100,7 @@ def test_list_workflows_error(
100100
platform_api_url: str,
101101
error_status_code: int,
102102
):
103-
url = f"{platform_api_url}/api/v1/workflows/"
103+
url = f"{platform_api_url}/api/v1/workflows/?sort_by=id"
104104

105105
httpx_mock.add_response(
106106
method="GET",

0 commit comments

Comments
 (0)