mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00

* fix: only increase counter if broadcast was successful Otherwise we will get account and sequence numbers mismatches. * test: add initial e2e tests for `lib/` Signed-off-by: Julian Strobl <jmastr@mailbox.org>
17 lines
280 B
Go
17 lines
280 B
Go
package machine
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/planetmint/planetmint-go/testutil/network"
|
|
|
|
"github.com/stretchr/testify/suite"
|
|
)
|
|
|
|
func TestE2ETestSuite(t *testing.T) {
|
|
t.Parallel()
|
|
cfg := network.DefaultConfig()
|
|
cfg.NumValidators = 1
|
|
suite.Run(t, NewE2ETestSuite(cfg))
|
|
}
|