Skip to content

Commit

Permalink
fixup: expected status code is 201, not 200
Browse files Browse the repository at this point in the history
  • Loading branch information
jschaul committed Sep 19, 2022
1 parent bf1bb0a commit 64c23d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/brig/test/integration/API/User/Client.hs
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ testRegularPrekeysCannotBeSentAsLastPrekeys brig = do
testRegularPrekeysCannotBeSentAsLastPrekeysDuringUpdate :: Brig -> Http ()
testRegularPrekeysCannotBeSentAsLastPrekeysDuringUpdate brig = do
uid <- userId <$> randomUser brig
c <- responseJsonError =<< addClient brig uid (defNewClient PermanentClientType [head somePrekeys] (someLastPrekeys !! 11)) <!! const 200 === statusCode
c <- responseJsonError =<< addClient brig uid (defNewClient PermanentClientType [head somePrekeys] (someLastPrekeys !! 11)) <!! const 201 === statusCode
let newPrekey = somePrekeys !! 2
let update =
defUpdateClient
Expand Down

0 comments on commit 64c23d7

Please sign in to comment.