Skip to content

Commit

Permalink
Update integration test BYRON_HW_WALLETS/HW_WALLETS_04.
Browse files Browse the repository at this point in the history
Update integration test `BYRON_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 19, 2020
1 parent 94df899 commit 276cd3a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -328,8 +328,8 @@ spec = describe "BYRON_HW_WALLETS" $ do
selectCoins @n @'Byron 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 276cd3a

Please sign in to comment.