Skip to content
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

Turn on disabled 'forget tx' integration tests for Byron #978

Merged
merged 1 commit into from
Nov 7, 2019

Conversation

piotr-iohk
Copy link
Contributor

Issue Number

#836

Overview

  • I have turned on disabled 'forget tx' integration tests for Byron (they were pending because of fixtureByronWallet was not working as expected before)

Comments

  • pending tests were assuming that it is possible to make transaction on Byron wallet, so I had to re-worked them a bit to forget transaction that was part of migration.

@piotr-iohk piotr-iohk added this to the Forget Pending Transaction milestone Nov 7, 2019
@piotr-iohk piotr-iohk self-assigned this Nov 7, 2019
"byron-wallets" xit fixtureByronWallet
postByronTxEp listByronTxEp deleteByronTxEp
it "TRANS_DELETE_01 -\
\ Shelley: Can forget pending transaction" $ \ctx -> do
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this test for Shelley is the same as before, I just derived it from the method since it is not reusable for Byron...

expectResponseCode @IO HTTP.status204 rDel

it "TRANS_DELETE_02 -\
\ Shelley: Cannot forget tx that is already in ledger" $ \ctx -> do
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here - the same as before for Shelley...

@piotr-iohk
Copy link
Contributor Author

bors r+

iohk-bors bot added a commit that referenced this pull request Nov 7, 2019
978: Turn on disabled 'forget tx' integration tests for Byron r=piotr-iohk a=piotr-iohk

# Issue Number

#836
# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [ ] I have turned on disabled 'forget tx' integration tests for Byron (they were `pending` because of `fixtureByronWallet` was not working as expected before)


# Comments

- `pending` tests were assuming that it is possible to make transaction on Byron wallet, so I had to re-worked them a bit to forget transaction that was part of migration.

Co-authored-by: Piotr Stachyra <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 7, 2019

Build failed

@piotr-iohk
Copy link
Contributor Author

bors r+

iohk-bors bot added a commit that referenced this pull request Nov 7, 2019
978: Turn on disabled 'forget tx' integration tests for Byron r=piotr-iohk a=piotr-iohk

# Issue Number

#836
# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [ ] I have turned on disabled 'forget tx' integration tests for Byron (they were `pending` because of `fixtureByronWallet` was not working as expected before)


# Comments

- `pending` tests were assuming that it is possible to make transaction on Byron wallet, so I had to re-worked them a bit to forget transaction that was part of migration.

Co-authored-by: Piotr Stachyra <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 7, 2019

Build succeeded

@iohk-bors iohk-bors bot merged commit 813b573 into master Nov 7, 2019
@KtorZ KtorZ deleted the piotr/turn-on-forget-tx-tests-for-byron branch November 11, 2019 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants