mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
fix: undefined: sample.Machine
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
parent
caa795e5f7
commit
8db9d370af
@ -6,6 +6,7 @@ import (
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/planetmint/planetmint-go/testutil/keeper"
|
||||
"github.com/planetmint/planetmint-go/testutil/moduleobject"
|
||||
"github.com/planetmint/planetmint-go/testutil/sample"
|
||||
"github.com/planetmint/planetmint-go/util"
|
||||
"github.com/planetmint/planetmint-go/util/mocks"
|
||||
@ -33,7 +34,7 @@ func TestMachineNFTIssuance(t *testing.T) {
|
||||
util.RegisterAssetServiceHTTPClient = &mocks.MockClient{}
|
||||
_, ctx := keeper.MachineKeeper(t)
|
||||
sk, pk := sample.KeyPair()
|
||||
machine := sample.Machine(pk, pk, sk, "")
|
||||
machine := moduleobject.Machine(pk, pk, sk, "")
|
||||
goCtx := sdk.WrapSDKContext(ctx)
|
||||
|
||||
err := util.IssueMachineNFT(goCtx, &machine, "https", "testnet-asset.rddl.io", "/register_asset")
|
||||
|
Loading…
x
Reference in New Issue
Block a user