mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-29 09:45:18 +00:00
19 lines
449 B
Go
19 lines
449 B
Go
package keeper_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
"github.com/stretchr/testify/suite"
|
|
|
|
"github.com/0glabs/0g-chain/x/community/keeper"
|
|
"github.com/0glabs/0g-chain/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))
|
|
}
|