Skip to content

Commit

Permalink
Fix assertion in galley integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
pcapriotti committed Apr 25, 2024
1 parent db3f8e0 commit 540ed8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/galley/test/integration/API/MLS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2100,8 +2100,8 @@ testDeleteSubConvStale = do
pure (qcnv, sub)

-- the commit was made, yet the epoch for the request body is old
let Just activeData = pscActiveData sub
let dsc = DeleteSubConversationRequest (pscGroupId sub) activeData.epoch
let epoch = maybe (Epoch 0) (.epoch) (pscActiveData sub)
let dsc = DeleteSubConversationRequest (pscGroupId sub) epoch
deleteSubConv (qUnqualified alice) qcnv sconv dsc
!!! do const 409 === statusCode

Expand Down

0 comments on commit 540ed8b

Please sign in to comment.