Skip to content

Commit

Permalink
verify that in v3 /notifications response has no body
Browse files Browse the repository at this point in the history
  • Loading branch information
battermann committed Oct 24, 2022
1 parent 8c80898 commit 045177e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/gundeck/test/integration/API.hs
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,9 @@ testMissingNotifsV2 = do

testMissingNotifsV3 :: TestM ()
testMissingNotifsV3 =
testMissingNotifs "v2" $ const $ const 404 === statusCode
testMissingNotifs "v3" $ const $ do
const 404 === statusCode
const Nothing === parseNotifications

testMissingNotifs :: ByteString -> ([QueuedNotification] -> Assertions ()) -> TestM ()
testMissingNotifs version checks =
Expand Down

0 comments on commit 045177e

Please sign in to comment.