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

Add ShoppingList Reference Resolver helpers/utilities. #602

Merged

Conversation

leungkinghin-ct
Copy link
Contributor

@leungkinghin-ct leungkinghin-ct commented Oct 15, 2020

Relevant Issues

#594

Hints for Review

leungkinghin and others added 30 commits October 13, 2020 16:32
….AbstractAssert.withFailMessage(String, Object[]) ignored in )
@ahmetoz ahmetoz changed the base branch from shoppinglist-sync to shopping-lists-base-branch October 16, 2020 13:07
@ahmetoz ahmetoz changed the title 594 shoppinglist reference resolution Add ShoppingList Reference Resolver helpers/utilities. Oct 16, 2020
@ahmetoz ahmetoz marked this pull request as ready for review October 16, 2020 14:43
@ahmetoz ahmetoz self-requested a review October 16, 2020 14:53
…mmercetools/commercetools-sync-java into 594-shoppinglist-reference-resolution

* '594-shoppinglist-reference-resolution' of github.com:commercetools/commercetools-sync-java:
  Increase code coverage
  Update tests
  update message.
  Adapt ShoppingListDraft#Customer reference to resource identifier.
  `ProductDraft.getState()` is changed from `Reference<State>` to `ResourceIdentifier<State> -  [Bump commercetoolsJvmSdkVersion from 1.53.0 to 1.54.0] (#589)
  Add test for ShoppingListReferenceResolutionUtils.java
  fix PMD issues. example (M C RV: Return value of org.assertj.core.api.AbstractAssert.withFailMessage(String, Object[]) ignored in )
  fix check style warnings.
  Update ShoppingListReferenceResolutionUtils.java

# Conflicts:
#	src/main/java/com/commercetools/sync/shoppinglists/utils/ShoppingListReferenceResolutionUtils.java
@ahmetoz ahmetoz merged commit 9f9c837 into shopping-lists-base-branch Oct 19, 2020
@ahmetoz ahmetoz deleted the 594-shoppinglist-reference-resolution branch October 19, 2020 11:59
when(mockProductVariant.getSku()).thenReturn("variant-sku");

final List<ShoppingList> mockShoppingLists = new ArrayList<>();
mockShoppingLists.add(null);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

what's the purpose to add a null object into the list?

Copy link
Contributor

Choose a reason for hiding this comment

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

To ensure that null drafts filtered out.

leungkinghin-ct pushed a commit that referenced this pull request Nov 24, 2020
* master:
  Bump commercetoolsJvmSdkVersion from 1.54.0 to 1.55.0
  Version updates and release notes of 3.0.0 (#620)
  610 -  Fix duration calculation for retry client. (+ refactor client creation logic) (#623)
  Add user guide for Shopping lists (#613)
  Cover shopping list line items in integration test scenarios (#626)
  Revert "Resolve ProductTypeSyncTest"
  wrapped <li> elements in <ul> tags (#616)
  Implement text line item actions (#625)
  Resolve ProductTypeSyncTest
  Implement LineItem actions (#618)
  Concept of the shopping lists' line item update actions. (#614)
  Bump assertj-core from 3.18.0 to 3.18.1
  Implement Shoppinglist Sync class with IT/UT (exclude LineItem and TextLineItem) (#615)
  Add shopping list update actions (without line items) (#611)
  Create shoppinglist sync utils and helper (#595)
  Add ShoppingList Reference Resolver helpers/utilities. (#602)
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.

None yet

6 participants