mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-11-26 23:45:50 +00:00
refactor: use default params in tests
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
parent
31b304f232
commit
e73de4068d
@ -34,7 +34,7 @@ func TestMachineNFTIssuance(t *testing.T) {
|
||||
machine := moduleobject.Machine(pk, pk, sk, "")
|
||||
goCtx := sdk.WrapSDKContext(ctx)
|
||||
|
||||
err := util.IssueMachineNFT(goCtx, &machine, "https", "testnet-asset.rddl.io", "/register_asset")
|
||||
|
||||
params := types.DefaultParams()
|
||||
err := util.IssueMachineNFT(goCtx, &machine, params.AssetRegistryScheme, params.AssetRegistryDomain, params.AssetRegistryPath)
|
||||
assert.NoError(t, err)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user