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

Reduce apitest harness' dependency on string matching #4540

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

ghubstan
Copy link
Contributor

  • Pass list of supporting app names as enum vararg to scaffold setup.
  • Use dispute agent type constants in RegisterDisputeAgentsTest case.

- Pass list of supporting app names as enum vararg to scaffold setup.
- Use dispute agent type constants in RegisterDisputeAgentsTest case.
Copy link
Contributor

@chimp1984 chimp1984 left a comment

Choose a reason for hiding this comment

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

utACK

@@ -42,10 +44,14 @@
@TestMethodOrder(OrderAnnotation.class)
public class RegisterDisputeAgentsTest extends MethodTest {

private static final String ARBITRATOR = "arbitrator";
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess those constants would be good to have in the domain classes and maybe enums are even better.

@sqrrm sqrrm merged commit c814e3b into bisq-network:master Sep 22, 2020
@ghubstan ghubstan deleted the remove-strings branch September 22, 2020 15:52
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