mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
19 lines
344 B
Go
19 lines
344 B
Go
package keeper_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
testkeeper "planetmint-go/testutil/keeper"
|
|
"planetmint-go/x/asset/types"
|
|
)
|
|
|
|
func TestGetParams(t *testing.T) {
|
|
k, ctx := testkeeper.AssetKeeper(t)
|
|
params := types.DefaultParams()
|
|
|
|
k.SetParams(ctx, params)
|
|
|
|
require.EqualValues(t, params, k.GetParams(ctx))
|
|
}
|