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

Additional tests and fixes to terminate agreement #849

Merged
merged 3 commits into from
Dec 7, 2020

Conversation

nieznanysprawiciel
Copy link
Contributor

No description provided.

@nieznanysprawiciel nieznanysprawiciel requested review from a team and jiivan December 4, 2020 15:54
.ok();
Ok(())
}
// TODO: test invalid reason (without message)
Copy link
Contributor

Choose a reason for hiding this comment

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

todo

} => {
assert_eq!(agreement_id, &negotiation.p_agreement.into_client());
assert_eq!(terminator, &AgreementTerminator::Provider);
assert_ne!(reason, &None);
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be better to assert_eq reason

@jiivan jiivan merged commit 4db7abc into market/termag-ep Dec 7, 2020
@jiivan jiivan deleted the market/termag-tests branch December 7, 2020 10: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