🐛 fix(test_websocket.py): fix the endpoint URL in the test_init_build test
The endpoint URL in the test_init_build test has been fixed to "api/v1/build/init/test" to match the correct URL pattern. This ensures that the test is accurately testing the intended functionality.
This commit is contained in:
parent
85b7ff1d31
commit
ce34ac4825
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ import pytest
|
|||
|
||||
def test_init_build(client):
|
||||
response = client.post(
|
||||
"api/v1/build/init", json={"id": "test", "data": {"key": "value"}}
|
||||
"api/v1/build/init/test", json={"id": "test", "data": {"key": "value"}}
|
||||
)
|
||||
assert response.status_code == 201
|
||||
assert response.json() == {"flowId": "test"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue