diff --git a/tests/e2e/asset/rest.go b/tests/e2e/asset/rest.go index f4668a5..b1f6231 100644 --- a/tests/e2e/asset/rest.go +++ b/tests/e2e/asset/rest.go @@ -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] diff --git a/tests/e2e/asset/suite.go b/tests/e2e/asset/suite.go index 6de70b5..661fabe 100644 --- a/tests/e2e/asset/suite.go +++ b/tests/e2e/asset/suite.go @@ -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]