The unit tests of Shortcut's Migrate source plugins should be changed to the base class introduced in #2791119: Write meaningful Migrate source tests.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 2807937-10.patch | 8.37 KB | svendecabooter |
| #7 | 2807937-3.patch | 8.27 KB | erozqba |
| #2 | 2807937-1.patch | 8.31 KB | erozqba |
Comments
Comment #2
erozqba commentedComment #3
erozqba commentedComment #4
phenaproximaThe { needs to be on the same line as
function providerSource().Same here.
And here.
This isn't identical to the source data...
Comment #5
erozqba commentedThanks a lot for the code review phenaproxima! Sorry for the issues, too many copy/paste. I'm uploading a new patch with your suggestions.
Comment #7
erozqba commentedComment #8
erozqba commentedComment #9
chipway commentedI would add here what alexpott suggested in order to help to review then commit it:
See #2807879-14: Convert Contact's Migrate source tests to new base class - let's use better array in/out keys to make it easier to understand what is going on.
Comment #10
svendecabooterUpdated the patch to have more informative keys (next to descriptive comments) as suggested by alexpott
Comment #11
quietone commentedThank you, svendecabooter.
Comment #12
alexpottFixed on commit.
Comment #13
alexpottCommitted and pushed c0fda56 to 8.3.x and 74312bb to 8.2.x. Thanks!