-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): Create customer history entries for groups
Relates to #343
- Loading branch information
1 parent
679d4af
commit 4620730
Showing
18 changed files
with
258 additions
and
40 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -375,7 +375,7 @@ describe('Shop auth & accounts', () => { | |
data: {}, | ||
}, | ||
{ | ||
type: HistoryEntryType.CUSTOMER_PASSWORD_RESET_REQUESTED, | ||
type: HistoryEntryType.CUSTOMER_PASSWORD_RESET_VERIFIED, | ||
data: {}, | ||
}, | ||
]); | ||
|
@@ -530,11 +530,17 @@ describe('Shop auth & accounts', () => { | |
expect(result.customer?.history.items.map(pick(['type', 'data']))).toEqual([ | ||
{ | ||
type: HistoryEntryType.CUSTOMER_EMAIL_UPDATE_REQUESTED, | ||
data: {}, | ||
data: { | ||
newEmailAddress: '[email protected]', | ||
oldEmailAddress: '[email protected]', | ||
}, | ||
}, | ||
{ | ||
type: HistoryEntryType.CUSTOMER_EMAIL_UPDATE_VERIFIED, | ||
data: {}, | ||
data: { | ||
newEmailAddress: '[email protected]', | ||
oldEmailAddress: '[email protected]', | ||
}, | ||
}, | ||
]); | ||
}); | ||
|
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
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
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
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
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
Oops, something went wrong.