Skip to content

Commit

Permalink
Update integration test SHELLEY_HW_WALLETS/HW_WALLETS_04.
Browse files Browse the repository at this point in the history
Update integration test `SHELLEY_HW_WALLETS/HW_WALLETS_04` to expect
exactly one ordinary output (the one that was initially specified),
and at least one change output.
  • Loading branch information
jonathanknowles committed Oct 20, 2020
1 parent e37a764 commit 45575e7
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -309,8 +309,8 @@ spec = describe "SHELLEY_HW_WALLETS" $ do
selectCoins @n @'Shelley ctx source (payment :| []) >>= flip verify
[ expectResponseCode HTTP.status200
, expectField #inputs (`shouldSatisfy` (not . null))
, expectField #outputs (`shouldSatisfy` ((> 1) . length))
, expectField #outputs (`shouldSatisfy` (output `elem`))
, expectField #outputs (`shouldBe` [output])
, expectField #change (`shouldSatisfy` (not . null))
]

describe "HW_WALLETS_05 - Wallet from pubKey is available" $ do
Expand Down

0 comments on commit 45575e7

Please sign in to comment.