mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
26 lines
489 B
Go
26 lines
489 B
Go
package keeper_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/onsonr/sonr/x/oracle/types"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestGenesis(t *testing.T) {
|
|
f := SetupTest(t)
|
|
|
|
genesisState := &types.GenesisState{
|
|
Params: types.DefaultParams(),
|
|
|
|
// this line is used by starport scaffolding # genesis/test/state
|
|
}
|
|
|
|
f.k.InitGenesis(f.ctx, genesisState)
|
|
|
|
got := f.k.ExportGenesis(f.ctx)
|
|
require.NotNil(t, got)
|
|
|
|
// this line is used by starport scaffolding # genesis/test/assert
|
|
}
|