0g-chain/x/community/keeper/staking_test.go

19 lines
447 B
Go
Raw Normal View History

package keeper_test
import (
"testing"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
"github.com/kava-labs/kava/x/community/keeper"
"github.com/kava-labs/kava/x/community/testutil"
)
func TestKeeperPayoutAccumulatedStakingRewards(t *testing.T) {
testFunc := func(ctx sdk.Context, k keeper.Keeper) {
k.PayoutAccumulatedStakingRewards(ctx)
}
suite.Run(t, testutil.NewStakingRewardsTestSuite(testFunc))
}