Skip to content

Commit

Permalink
quit in integration test - part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
paweljakubas committed May 30, 2023
1 parent 5f21ed0 commit 47d37d6
Showing 1 changed file with 11 additions and 0 deletions.
Expand Up @@ -140,6 +140,7 @@ import Test.Integration.Framework.DSL
, json
, listAddresses
, minUTxOValue
, notDelegating
, patchSharedWallet
, postSharedWallet
, request
Expand Down Expand Up @@ -2222,6 +2223,16 @@ spec = describe "SHARED_TRANSACTIONS" $ do
[ expectResponseCode HTTP.status202
]

eventually "party1: Wallet is not delegating" $ do
request @ApiWallet ctx (Link.getWallet @'Shared party1) Default Empty
>>= flip verify
[ expectField #delegation (`shouldBe` notDelegating [])
]
eventually "party2: Wallet is not delegating" $ do
request @ApiWallet ctx (Link.getWallet @'Shared party2) Default Empty
>>= flip verify
[ expectField #delegation (`shouldBe` notDelegating [])
]
where
listSharedTransactions ctx w mStart mEnd mOrder mLimit = do
let path = Link.listTransactions' @'Shared w
Expand Down

0 comments on commit 47d37d6

Please sign in to comment.