-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests: Support for new cucumber app call txn decoding test #433
Conversation
@@ -377,7 +377,6 @@ func FeatureContext(s *godog.Suite) { | |||
s.Step(`^I build a payment transaction with sender "([^"]*)", receiver "([^"]*)", amount (\d+), close remainder to "([^"]*)"$`, iBuildAPaymentTransactionWithSenderReceiverAmountCloseRemainderTo) | |||
s.Step(`^I create a transaction with signer with the current transaction\.$`, iCreateATransactionWithSignerWithTheCurrentTransaction) | |||
s.Step(`^I append the current transaction with signer to the method arguments array\.$`, iAppendTheCurrentTransactionWithSignerToTheMethodArgumentsArray) | |||
s.Step(`^the decoded transaction should equal the original$`, theDecodedTransactionShouldEqualTheOriginal) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This step was registered twice, the other time being
go-algorand-sdk/test/transactions_test.go
Line 191 in 60292fb
s.Step(`^the decoded transaction should equal the original$`, theDecodedTransactionShouldEqualTheOriginal) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to merge after merging the upstream SDK Testing PR - looks like tests were successfully run in CI.
@@ -377,7 +377,6 @@ func FeatureContext(s *godog.Suite) { | |||
s.Step(`^I build a payment transaction with sender "([^"]*)", receiver "([^"]*)", amount (\d+), close remainder to "([^"]*)"$`, iBuildAPaymentTransactionWithSenderReceiverAmountCloseRemainderTo) | |||
s.Step(`^I create a transaction with signer with the current transaction\.$`, iCreateATransactionWithSignerWithTheCurrentTransaction) | |||
s.Step(`^I append the current transaction with signer to the method arguments array\.$`, iAppendTheCurrentTransactionWithSignerToTheMethodArgumentsArray) | |||
s.Step(`^the decoded transaction should equal the original$`, theDecodedTransactionShouldEqualTheOriginal) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch
Co-authored-by: algochoi <[email protected]>
This PR adds support for algorand/algorand-sdk-testing#248
Note: the code exported by this library does not suffer from the same bug as algorand/js-algorand-sdk#688, but some changes were needed to get the test to pass properly.
I don't believe this PR necessitates a patch release.