test: fix test expecting 200 instead of 204
This commit is contained in:
parent
86f3f5787f
commit
c7535fce56
|
@ -346,9 +346,9 @@ kafka_bridge_rest_api_helper(Config) ->
|
||||||
{ok, 204, _} = show(http_put(show(BridgesPartsOpDisable), #{})),
|
{ok, 204, _} = show(http_put(show(BridgesPartsOpDisable), #{})),
|
||||||
{ok, 204, _} = show(http_put(show(BridgesPartsOpEnable), #{})),
|
{ok, 204, _} = show(http_put(show(BridgesPartsOpEnable), #{})),
|
||||||
{ok, 204, _} = show(http_put(show(BridgesPartsOpEnable), #{})),
|
{ok, 204, _} = show(http_put(show(BridgesPartsOpEnable), #{})),
|
||||||
{ok, 200, _} = show(http_post(show(BridgesPartsOpStop), #{})),
|
{ok, 204, _} = show(http_post(show(BridgesPartsOpStop), #{})),
|
||||||
{ok, 200, _} = show(http_post(show(BridgesPartsOpStop), #{})),
|
{ok, 204, _} = show(http_post(show(BridgesPartsOpStop), #{})),
|
||||||
{ok, 200, _} = show(http_post(show(BridgesPartsOpRestart), #{})),
|
{ok, 204, _} = show(http_post(show(BridgesPartsOpRestart), #{})),
|
||||||
%% Cleanup
|
%% Cleanup
|
||||||
{ok, 204, _} = show(http_delete(BridgesPartsIdDeleteAlsoActions)),
|
{ok, 204, _} = show(http_delete(BridgesPartsIdDeleteAlsoActions)),
|
||||||
false = MyKafkaBridgeExists(),
|
false = MyKafkaBridgeExists(),
|
||||||
|
|
Loading…
Reference in New Issue