Go through all tests
This commit is contained in:
parent
0e0b6ae504
commit
d79473d1ab
@ -48,6 +48,7 @@ func TestMountStores(t *testing.T) {
|
||||
err = app.LoadLatestVersion(capKey2)
|
||||
assert.Nil(t, err)
|
||||
}
|
||||
|
||||
// Test that we can make commits and then reload old versions.
|
||||
// Test that LoadLatestVersion actually does.
|
||||
func TestLoadVersion(t *testing.T) {
|
||||
@ -71,6 +72,7 @@ func TestInfo(t *testing.T) {
|
||||
|
||||
// should be empty
|
||||
assert.Equal(t, "", res.Version)
|
||||
assert.Equal(t, t.Name(), res.GetData())
|
||||
assert.Equal(t, int64(0), res.LastBlockHeight)
|
||||
assert.Equal(t, []uint8(nil), res.LastBlockAppHash)
|
||||
|
||||
|
||||
@ -122,7 +122,6 @@ func TestOutputValidation(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestSendMsgValidation(t *testing.T) {
|
||||
|
||||
addr1 := crypto.Address([]byte{1, 2})
|
||||
addr2 := crypto.Address([]byte{7, 8})
|
||||
atom123 := sdk.Coins{{"atom", 123}}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user