🐛 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:
Gabriel Luiz Freitas Almeida 2023-06-28 22:50:55 -03:00
commit ce34ac4825

View file

@ -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"}