Skip to content

Commit

Permalink
integration test for shared 3
Browse files Browse the repository at this point in the history
  • Loading branch information
paweljakubas committed Nov 16, 2023
1 parent bb11969 commit ad14d04
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,17 @@ spec = describe "SHARED_TRANSACTIONS" $ do
let metadataRaw = TxMetadata (Map.fromList [(1,TxMetaText "hello")])
checkMetadataEncrytion ctx metadataRaw

it "SHARED_TRANSACTIONS_CREATE_01 - \
\Can create tx for an active shared wallet, big metadata encrypted" $
\ctx -> runResourceT $ do
let metadataRaw =
TxMetadata (Map.fromList
[ (1,TxMetaText "Hard times create strong men.")
, (2,TxMetaText "Strong men create good times.")
, (3,TxMetaText "Good times create weak men.")
, (4,TxMetaText "And, weak men create hard times.")])
checkMetadataEncrytion ctx metadataRaw

it "SHARED_TRANSACTIONS_CREATE_01a -\
\Empty payload is not allowed" $
\ctx -> runResourceT $ do
Expand Down

0 comments on commit ad14d04

Please sign in to comment.