mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-10-14 00:59:21 +00:00
fix linter errors
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
02f2140df4
commit
d43b61b9aa
@ -11,6 +11,7 @@ import (
|
||||
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
|
||||
)
|
||||
|
||||
// TestNotarizeAssetREST notarizes asset over REST endpoint
|
||||
func (s *E2ETestSuite) TestNotarizeAssetREST() {
|
||||
val := s.network.Validators[0]
|
||||
|
||||
|
@ -30,7 +30,7 @@ import (
|
||||
// Queryable pubkey for TestNotarizeAsset
|
||||
const mnemonic = "helmet hedgehog lab actor weekend elbow pelican valid obtain hungry rocket decade tower gallery fit practice cart cherry giggle hair snack glance bulb farm"
|
||||
|
||||
// Struct definition of machine E2ETestSuite
|
||||
// E2ETestSuite struct definition of asset suite
|
||||
type E2ETestSuite struct {
|
||||
suite.Suite
|
||||
|
||||
@ -38,12 +38,12 @@ type E2ETestSuite struct {
|
||||
network *network.Network
|
||||
}
|
||||
|
||||
// Returns new machine E2ETestSuite
|
||||
// NewE2ETestSuite returns configured asset E2ETestSuite
|
||||
func NewE2ETestSuite(cfg network.Config) *E2ETestSuite {
|
||||
return &E2ETestSuite{cfg: cfg}
|
||||
}
|
||||
|
||||
// Sets up new machine E2ETestSuite
|
||||
// SetupSuite initializes asset E2ETestSuite
|
||||
func (s *E2ETestSuite) SetupSuite() {
|
||||
s.T().Log("setting up e2e test suite")
|
||||
|
||||
@ -101,7 +101,7 @@ func (s *E2ETestSuite) SetupSuite() {
|
||||
s.Require().NoError(s.network.WaitForNextBlock())
|
||||
}
|
||||
|
||||
// Tear down machine E2ETestSuite
|
||||
// TearDownSuite clean up after testing
|
||||
func (s *E2ETestSuite) TearDownSuite() {
|
||||
s.T().Log("tearing down e2e test suite")
|
||||
}
|
||||
@ -111,6 +111,7 @@ type unsafeExporter interface {
|
||||
ExportPrivateKeyObject(uid string) (types.PrivKey, error)
|
||||
}
|
||||
|
||||
// TestNotarizeAsset notarizes asset over cli
|
||||
func (s *E2ETestSuite) TestNotarizeAsset() {
|
||||
val := s.network.Validators[0]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user