From ce34ac4825449584bd937c72732f7cdcbff7a4d4 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 28 Jun 2023 22:50:55 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(test=5Fwebsocket.py):=20fix?= =?UTF-8?q?=20the=20endpoint=20URL=20in=20the=20test=5Finit=5Fbuild=20test?= =?UTF-8?q?=20The=20endpoint=20URL=20in=20the=20test=5Finit=5Fbuild=20test?= =?UTF-8?q?=20has=20been=20fixed=20to=20"api/v1/build/init/test"=20to=20ma?= =?UTF-8?q?tch=20the=20correct=20URL=20pattern.=20This=20ensures=20that=20?= =?UTF-8?q?the=20test=20is=20accurately=20testing=20the=20intended=20funct?= =?UTF-8?q?ionality.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_websocket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_websocket.py b/tests/test_websocket.py index f571671e8..0199ff14b 100644 --- a/tests/test_websocket.py +++ b/tests/test_websocket.py @@ -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"}