test: fix test expecting 200 instead of 204

This commit is contained in:
Stefan Strigler 2023-02-08 09:14:35 +01:00
parent 86f3f5787f
commit c7535fce56
1 changed files with 3 additions and 3 deletions

View File

@ -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(),