mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
22 lines
349 B
Go
Executable File
22 lines
349 B
Go
Executable File
package keeper_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/sonr-io/sonr/x/did/types"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestGenesis(t *testing.T) {
|
|
f := SetupTest(t)
|
|
|
|
genesisState := &types.GenesisState{
|
|
Params: types.DefaultParams(),
|
|
}
|
|
|
|
f.k.InitGenesis(f.ctx, genesisState)
|
|
|
|
got := f.k.ExportGenesis(f.ctx)
|
|
require.NotNil(t, got)
|
|
}
|