You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running the command npm run crm-sync:test:b2c it generates 4 errors with the following pattern:
`
int_b2ccrmsync/cartridge/scripts/b2ccrmsync/models/customer
updateSyncResponseText
should save response text in the profile custom attribute if this is the first time the response text is saved and so the custom attribute is undefined:
AssertionError: expected 52 to equal 1
expected - actual
-52
+1
at Context. (test/b2c/int_b2ccrmsync/scripts/models/customer.test.js:222:82)
at processImmediate (internal/timers.js:464:21)
`
That goes back to a data type change (set-of-string to text) that has been implemented a few months ago. The unit tests need to be fixed.
The text was updated successfully, but these errors were encountered:
Describe the bug
When running the command
npm run crm-sync:test:b2c
it generates 4 errors with the following pattern:`
int_b2ccrmsync/cartridge/scripts/b2ccrmsync/models/customer
updateSyncResponseText
should save response text in the profile custom attribute if this is the first time the response text is saved and so the custom attribute is undefined:
AssertionError: expected 52 to equal 1
-52
+1
at Context. (test/b2c/int_b2ccrmsync/scripts/models/customer.test.js:222:82)
at processImmediate (internal/timers.js:464:21)
`
That goes back to a data type change (set-of-string to text) that has been implemented a few months ago. The unit tests need to be fixed.
The text was updated successfully, but these errors were encountered: