File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ use tx_util/builder.{
12
12
new_tx_output,
13
13
new_tx_input,
14
14
with_asset_of_tx_input,
15
+ add_asset_to_tx_output,
15
16
}
16
17
use settings as settings_validator
17
18
@@ -26,7 +27,7 @@ fn test_mint_settings(settings_nfts_count: Int) {
26
27
from_script (settings_nft_policy),
27
28
2_000_000 ,
28
29
InlineDatum (settings_datum)
29
- )
30
+ ) |> add_asset_to_tx_output (value. from_asset (settings_nft_policy, settings_nft_name, settings_nfts_count))
30
31
31
32
let protocol_boot_utxo = OutputReference { transaction_id: TransactionId { hash: #"00" }, output_index: 0 }
32
33
let protocol_boot_utxo_policy = #"00"
@@ -49,8 +50,8 @@ fn test_mint_settings(settings_nfts_count: Int) {
49
50
minted
50
51
}
51
52
52
- test mint_invalid_settings_multiple_nft () {
53
- ! test_mint_settings (2 )
53
+ test mint_invalid_settings_multiple_nft () fail {
54
+ test_mint_settings (2 )
54
55
}
55
56
56
57
test mint_valid_settings () {
You can’t perform that action at this time.
0 commit comments