From 838cf34d2286604b9cdcb1d832a43e10384e30b8 Mon Sep 17 00:00:00 2001 From: Pawel Jakubas Date: Thu, 22 Feb 2024 09:53:06 +0100 Subject: [PATCH] more fixes --- lib/integration/cardano-wallet-integration.cabal | 2 +- .../Test/Integration/Scenario/API/Shelley/TransactionsNew.hs | 4 ++-- .../scenarios/Test/Integration/Scenario/API/Voting.hs | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/integration/cardano-wallet-integration.cabal b/lib/integration/cardano-wallet-integration.cabal index 743cf588cca..ae3a3a135ad 100644 --- a/lib/integration/cardano-wallet-integration.cabal +++ b/lib/integration/cardano-wallet-integration.cabal @@ -164,7 +164,6 @@ library scenarios Test.Integration.Scenario.API.Byron.Network Test.Integration.Scenario.API.Byron.Transactions Test.Integration.Scenario.API.Byron.Wallets - Test.Integration.Scenario.API.Conway Test.Integration.Scenario.API.Network Test.Integration.Scenario.API.Shared.Addresses Test.Integration.Scenario.API.Shared.Transactions @@ -179,6 +178,7 @@ library scenarios Test.Integration.Scenario.API.Shelley.Transactions Test.Integration.Scenario.API.Shelley.TransactionsNew Test.Integration.Scenario.API.Shelley.Wallets + Test.Integration.Scenario.API.Voting Test.Integration.Scenario.CLI.Byron.Addresses Test.Integration.Scenario.CLI.Byron.Wallets Test.Integration.Scenario.CLI.Miscellaneous diff --git a/lib/integration/scenarios/Test/Integration/Scenario/API/Shelley/TransactionsNew.hs b/lib/integration/scenarios/Test/Integration/Scenario/API/Shelley/TransactionsNew.hs index 689a3349786..b062896e4c8 100644 --- a/lib/integration/scenarios/Test/Integration/Scenario/API/Shelley/TransactionsNew.hs +++ b/lib/integration/scenarios/Test/Integration/Scenario/API/Shelley/TransactionsNew.hs @@ -4352,8 +4352,8 @@ spec = describe "NEW_SHELLEY_TRANSACTIONS" $ do ] it "TRANS_NEW_CREATE_12 - Cannot vote in Babbage" $ \ctx -> runResourceT $ do - noConway ctx "voting supported in Conway onwards and tested in API.Conway module" - src <- fixtureWallet @n ctx + noConway ctx "voting supported in Conway onwards and tested in API.Voting module" + src <- fixtureWallet ctx let voteNoConfidence = Json [json|{ "vote": "abstain" diff --git a/lib/integration/scenarios/Test/Integration/Scenario/API/Voting.hs b/lib/integration/scenarios/Test/Integration/Scenario/API/Voting.hs index 2120f89c224..b221e3ebe2f 100644 --- a/lib/integration/scenarios/Test/Integration/Scenario/API/Voting.hs +++ b/lib/integration/scenarios/Test/Integration/Scenario/API/Voting.hs @@ -72,7 +72,6 @@ import Test.Integration.Framework.DSL , getFromResponse , getResponse , json - , minUTxOValue , noBabbage , notDelegating , onlyVoting @@ -91,7 +90,7 @@ spec :: forall n. HasSNetworkId n => SpecWith Context spec = describe "VOTING_TRANSACTIONS" $ do it "VOTING_01a - Can vote and revote" $ \ctx -> runResourceT $ do noBabbage ctx "voting supported in Conway onwards" - src <- fixtureWallet @n ctx + src <- fixtureWallet ctx let getSrcWallet = let endpoint = Link.getWallet @'Shelley src