forked from cerc-io/laconicd
Prathamesh Musale
213c390c37
Part of https://www.notion.so/Rename-laconic2d-to-laconicd-9028d0c020d24d1288e92ebcb773d7a7 Co-authored-by: neeraj <neeraj.rtly@gmail.com> Reviewed-on: cerc-io/laconic2d#26 Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to> Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
31 lines
597 B
Go
31 lines
597 B
Go
package keeper_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
"github.com/stretchr/testify/suite"
|
|
|
|
integrationTest "git.vdb.to/cerc-io/laconicd/tests/integration"
|
|
types "git.vdb.to/cerc-io/laconicd/x/bond"
|
|
)
|
|
|
|
type KeeperTestSuite struct {
|
|
suite.Suite
|
|
integrationTest.TestFixture
|
|
|
|
queryClient types.QueryClient
|
|
}
|
|
|
|
func (kts *KeeperTestSuite) SetupTest() {
|
|
err := kts.TestFixture.Setup()
|
|
assert.Nil(kts.T(), err)
|
|
|
|
qr := kts.App.QueryHelper()
|
|
kts.queryClient = types.NewQueryClient(qr)
|
|
}
|
|
|
|
func TestBondKeeperTestSuite(t *testing.T) {
|
|
suite.Run(t, new(KeeperTestSuite))
|
|
}
|