Skip to content

Commit

Permalink
Revert "Hotfix: Fixing how mls-test-cli is called (#3690)"
Browse files Browse the repository at this point in the history
This reverts commit 58bcc0c.

It was not required, this breaks tests for everyone.
  • Loading branch information
akshaymankar committed Nov 6, 2023
1 parent 58bcc0c commit b972b68
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion changelog.d/3-bug-fixes/WPB-5330

This file was deleted.

2 changes: 1 addition & 1 deletion integration/test/MLS/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ createApplicationMessage cid messageContent = do
message <-
mlscli
cid
["message", "--group", "<group-in>", messageContent]
["message", "--group-in", "<group-in>", messageContent, "--group-out", "<group-out>"]
Nothing

pure
Expand Down
2 changes: 1 addition & 1 deletion libs/wire-api/test/unit/Test/Wire/API/MLS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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", "-", "hello"]) (Just groupJSON)
spawn (cli qcid tmp ["message", "--group-in", "-", "hello"]) (Just groupJSON)

msg <- case decodeMLS' @Message msgData of
Left err -> assertFailure (T.unpack err)
Expand Down
2 changes: 1 addition & 1 deletion services/galley/test/integration/API/MLS/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ createApplicationMessage cid messageContent = do
message <-
mlscli
cid
["message", "--group", "<group-in>", messageContent]
["message", "--group-in", "<group-in>", messageContent, "--group-out", "<group-out>"]
Nothing

pure $
Expand Down

0 comments on commit b972b68

Please sign in to comment.