mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00

This is the quasi-standard and fixes the error below: ``` $ go get -u github.com/planetmint/planetmint-go@v0.1.0 go: github.com/planetmint/planetmint-go@v0.1.0: parsing go.mod: module declares its path as: planetmint-go but was required as: github.com/planetmint/planetmint-go ``` Signed-off-by: Julian Strobl <jmastr@mailbox.org>
19 lines
388 B
Go
19 lines
388 B
Go
package keeper_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
testkeeper "github.com/planetmint/planetmint-go/testutil/keeper"
|
|
"github.com/planetmint/planetmint-go/x/asset/types"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestGetParams(t *testing.T) {
|
|
k, ctx := testkeeper.AssetKeeper(t)
|
|
params := types.DefaultParams()
|
|
|
|
k.SetParams(ctx, params)
|
|
|
|
require.EqualValues(t, params, k.GetParams(ctx))
|
|
}
|