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

services/horizon: Add integration test for failed liquidity pool operations #3911

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

2opremio
Copy link
Contributor

Also, add missing test-cases to the happy path test.

@2opremio 2opremio requested review from bartekn and tamirms September 13, 2021 16:55
@2opremio 2opremio force-pushed the amm-failed-deposit-withdrawal-test branch from 09fc989 to c6bb018 Compare September 13, 2021 16:56
@2opremio 2opremio force-pushed the amm-failed-deposit-withdrawal-test branch from c6bb018 to 7cde18b Compare September 13, 2021 17:01
tt.Len(opsResponse.Embedded.Records, 1)
deposit := (opsResponse.Embedded.Records[0]).(operations.LiquidityPoolDeposit)
tt.Equal("liquidity_pool_deposit", deposit.Type)
tt.Equal("cafe000000000000000000000000000000000000000000000000000000000000", deposit.LiquidityPoolID)
Copy link
Contributor

Choose a reason for hiding this comment

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

@2opremio 2opremio merged commit 7b83dc4 into stellar:amm Sep 14, 2021
@2opremio 2opremio deleted the amm-failed-deposit-withdrawal-test branch September 14, 2021 09:11
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.

3 participants