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

TransactionHistoryStore Tests #23

Closed
wants to merge 5 commits into from
Closed

Conversation

patche-v
Copy link
Contributor

Transaction history store tests

@patche-v patche-v requested a review from djale1k January 28, 2020 15:50
}

for i, value := range transact {
suite.Equal(value.Id, transact[i].Id)
Copy link
Contributor

Choose a reason for hiding this comment

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

@vpatcev18 this is not a valid test since you check the same object from the slice. You need to compare against suite.Transactions since those are the expected result.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@FilipNikolovski resolved, plus solved the problem of multiple transactions on a single user

@patche-v patche-v closed this Jan 30, 2020
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