diff --git a/changelog.d/3-bug-fixes/WPB-5330 b/changelog.d/3-bug-fixes/WPB-5330 new file mode 100644 index 00000000000..fafbef2190c --- /dev/null +++ b/changelog.d/3-bug-fixes/WPB-5330 @@ -0,0 +1 @@ +Updating tests to fix an issue calling `mls-test-cli` \ No newline at end of file diff --git a/integration/test/MLS/Util.hs b/integration/test/MLS/Util.hs index 10dbd41724a..68feacee6db 100644 --- a/integration/test/MLS/Util.hs +++ b/integration/test/MLS/Util.hs @@ -724,7 +724,7 @@ createApplicationMessage cid messageContent = do message <- mlscli cid - ["message", "--group-in", "", messageContent, "--group-out", ""] + ["message", "--group", "", messageContent] Nothing pure diff --git a/libs/wire-api/test/unit/Test/Wire/API/MLS.hs b/libs/wire-api/test/unit/Test/Wire/API/MLS.hs index 74652d86628..efd3fa48a58 100644 --- a/libs/wire-api/test/unit/Test/Wire/API/MLS.hs +++ b/libs/wire-api/test/unit/Test/Wire/API/MLS.hs @@ -123,7 +123,7 @@ testParseApplication = do msgData <- withSystemTempDirectory "mls" $ \tmp -> do void $ spawn (cli qcid tmp ["init", qcid]) Nothing groupJSON <- spawn (cli qcid tmp ["group", "create", "Zm9v"]) Nothing - spawn (cli qcid tmp ["message", "--group-in", "-", "hello"]) (Just groupJSON) + spawn (cli qcid tmp ["message", "--group", "-", "hello"]) (Just groupJSON) msg <- case decodeMLS' @Message msgData of Left err -> assertFailure (T.unpack err) diff --git a/services/galley/test/integration/API/MLS/Util.hs b/services/galley/test/integration/API/MLS/Util.hs index f15e326db3f..435c4f0c6a8 100644 --- a/services/galley/test/integration/API/MLS/Util.hs +++ b/services/galley/test/integration/API/MLS/Util.hs @@ -647,7 +647,7 @@ createApplicationMessage cid messageContent = do message <- mlscli cid - ["message", "--group-in", "", messageContent, "--group-out", ""] + ["message", "--group", "", messageContent] Nothing pure $