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

[DE-572] Tests for listing and creating Product(s) Price Points #37

Merged
merged 3 commits into from
Nov 30, 2023

Conversation

patryk-grudzien-keen
Copy link
Contributor

No description provided.

Copy link

swarmia bot commented Nov 29, 2023

✅  Linked to Story DE-572 · Java CRUD for Product Price Points endpoints part 1
➡️  Part of Epic DE-117 · SDK Testing
➡️  Part of DE-113 · OneMaxio API

Copy link
Contributor

@michalpierog michalpierog left a comment

Choose a reason for hiding this comment

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

Added a few suggestions.

() -> assertThat(defaultPricePoint.getTrialPriceInCents()).isNull(),
() -> assertThat(defaultPricePoint.getTrialInterval()).isNull(),
() -> assertThat(defaultPricePoint.getTrialIntervalUnit()).isNull(),
() -> assertThat(defaultPricePoint.getTrialType()).isEqualTo("payment_expected"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like possible candidate for Enum.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll verify that and fix it in the other PR.

michalpierog
michalpierog previously approved these changes Nov 30, 2023
@patryk-grudzien-keen patryk-grudzien-keen merged commit 8eb5435 into main Nov 30, 2023
2 checks passed
@patryk-grudzien-keen patryk-grudzien-keen deleted the patryk-crud-for-product-price-points branch November 30, 2023 12:27
@patryk-grudzien-keen patryk-grudzien-keen changed the title [DE-572] Tests for listing Product(s) Price Points [DE-572] Tests for listing and creating Product(s) Price Points Nov 30, 2023
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