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
ahmetoz
merged 48 commits into
shopping-lists-base-branch
from
594-shoppinglist-reference-resolution
Oct 19, 2020
Merged
Add ShoppingList Reference Resolver helpers/utilities. #602
ahmetoz
merged 48 commits into
shopping-lists-base-branch
from
594-shoppinglist-reference-resolution
Oct 19, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ahmetoz
changed the base branch from
shoppinglist-sync
to
shopping-lists-base-branch
October 16, 2020 13:07
ahmetoz
changed the title
594 shoppinglist reference resolution
Add ShoppingList Reference Resolver helpers/utilities.
Oct 16, 2020
…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
lojzatran
requested changes
Oct 19, 2020
...in/java/com/commercetools/sync/shoppinglists/utils/ShoppingListReferenceResolutionUtils.java
Outdated
Show resolved
Hide resolved
src/test/java/com/commercetools/sync/products/ProductSyncMockUtils.java
Outdated
Show resolved
Hide resolved
src/test/java/com/commercetools/sync/shoppinglists/helpers/LineItemReferenceResolverTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/commercetools/sync/shoppinglists/helpers/LineItemReferenceResolverTest.java
Show resolved
Hide resolved
src/test/java/com/commercetools/sync/shoppinglists/helpers/LineItemReferenceResolverTest.java
Show resolved
Hide resolved
...est/java/com/commercetools/sync/shoppinglists/helpers/ShoppingListReferenceResolverTest.java
Show resolved
Hide resolved
...est/java/com/commercetools/sync/shoppinglists/helpers/ShoppingListReferenceResolverTest.java
Show resolved
Hide resolved
...est/java/com/commercetools/sync/shoppinglists/helpers/ShoppingListReferenceResolverTest.java
Show resolved
Hide resolved
...est/java/com/commercetools/sync/shoppinglists/helpers/ShoppingListReferenceResolverTest.java
Show resolved
Hide resolved
...va/com/commercetools/sync/shoppinglists/utils/ShoppingListsReferenceResolutionUtilsTest.java
Outdated
Show resolved
Hide resolved
ahmetoz
approved these changes
Oct 19, 2020
lojzatran
approved these changes
Oct 19, 2020
leungkinghin-ct
commented
Oct 19, 2020
when(mockProductVariant.getSku()).thenReturn("variant-sku"); | ||
|
||
final List<ShoppingList> mockShoppingLists = new ArrayList<>(); | ||
mockShoppingLists.add(null); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Relevant Issues
#594
Hints for Review