Skip to content

Commit

Permalink
Also test listing addresses shows correct number
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Ospald committed Sep 9, 2020
1 parent 2d5dac4 commit 9b94966
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,11 @@ spec = do
]
forM_ matrix $ \(title, addrPoolGap, expectations) -> it title $ \ctx -> do
let payload = payloadWith' "Secure Wallet" mnemonics24 (fromIntegral addrPoolGap)
r <- request @ApiWallet ctx (Link.postWallet @'Shelley) Default payload
r@(_, Right wallet) <- request @ApiWallet ctx (Link.postWallet @'Shelley) Default payload
verify r expectations
addrs <- listAddresses @n ctx wallet
length addrs `shouldBe` addrPoolGap


it "WALLETS_CREATE_08 - default address_pool_gap" $ \ctx -> do
let payload = Json [json| {
Expand Down

0 comments on commit 9b94966

Please sign in to comment.