Skip to content

Commit

Permalink
Update lib/core-integration/src/Test/Integration/Scenario/API/Shelley…
Browse files Browse the repository at this point in the history
…/StakePools.hs

Co-authored-by: Jonathan Knowles <jonathan.knowles@iohk.io>
  • Loading branch information
hasufell and jonathanknowles committed Oct 22, 2020
1 parent 85d6cf8 commit a326a4b
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -669,9 +669,9 @@ spec = describe "SHELLEY_STAKE_POOLS" $ do
$ it "Can quit a joined pool" $ \ctx -> do
w <- fixtureWallet ctx

pool:_ <- map (view #id) . view #pools . snd
<$> unsafeRequest @(ApiListStakePools ApiStakePool)
ctx (Link.listStakePools arbitraryStake) Empty
pool:_ <- map (view #id) . view #pools . snd <$>
unsafeRequest @(ApiListStakePools ApiStakePool)
ctx (Link.listStakePools arbitraryStake) Empty

joinStakePool @n ctx pool (w, fixturePassphrase) >>= flip verify
[ expectResponseCode HTTP.status202
Expand Down

0 comments on commit a326a4b

Please sign in to comment.