mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
21 lines
362 B
Go
Executable File
21 lines
362 B
Go
Executable File
package keeper_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
|
|
"github.com/sonr-io/sonr/x/dwn/types"
|
|
)
|
|
|
|
func TestParams(t *testing.T) {
|
|
f := SetupTest(t)
|
|
|
|
// Test valid case only
|
|
_, err := f.msgServer.UpdateParams(f.ctx, &types.MsgUpdateParams{
|
|
Authority: f.govModAddr,
|
|
Params: types.DefaultParams(),
|
|
})
|
|
require.NoError(t, err)
|
|
}
|