sonr/x/macaroon/keeper/genesis_test.go
Prad Nukala 779a45121b
feature/proxied registration (#26)
* chore: ignore mprocs configuration files

* feat(macaroon): add macaroon module

* chore: update module dependencies
2024-09-26 18:01:49 -04:00

26 lines
491 B
Go

package keeper_test
import (
"testing"
"github.com/onsonr/sonr/x/macaroon/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
}