follow up to #2940679: Fix FilterIdTest test names
By converting the comments for each provider data set to the keys we can improve the error output. To quote larowlan
e.g from
// The filter ID is mapped, and the plugin exists.
[
'foo',
'filter_html',
],
to
'filter ID mapped to plugin that exists' => [
'foo',
'filter_html',
],
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | interdiff_5-11.txt | 1.48 KB | spitzialist |
| #11 | core-improve-filtertest-provider-keys-2974657-11.patch | 1.63 KB | spitzialist |
| #5 | interdiff_3-5.txt | 708 bytes | leolandotan |
| #5 | core-improve-filtertest-provider-keys-2974657-5-D8.patch | 1.48 KB | leolandotan |
| #3 | core-improve-filtertest-provider-keys-D8.patch | 1.48 KB | leolandotan |
Comments
Comment #2
leolandotan commentedI'll work on this.
Comment #3
leolandotan commentedHi guys,
I added the key for each provider data set based on the comment for each provider. I just didn't remove the comment yet since it can be clearer that the key.
Hope everything is in order.
Thanks!
Comment #4
borisson_/s/exists/exist/
Comment #5
leolandotan commentedThank you for your review @borisson_! I have applied the changes.
Hope everything is in order.
Comment #6
borisson_Looks great!
Comment #7
alexpottComment #8
alexpottWe can remove the comments now as they are redundant. Plus there is one test which does not have a comment or a key - we should fix that too. Maybe there's a comment on #2618332: Better handle replacement of missing filters with filter_null that will explain why this test is there.
Comment #10
spitzialist commentedComment #11
spitzialist commentedPatch created to include changes proposed in comment #8:
- Removed comments
- Added key for last test case (Please review, as I am not sure here)
Comment #12
spitzialist commentedComment #13
borisson_This looks like an improvement over the current state.
Comment #14
alexpottCredited @neclimdul for creating the issue and myself for reviews.
Committed and pushed 5d8c1f4907 to 8.7.x and 71036622db to 8.6.x. Thanks!
Backported to 8.6.x since it is tests only.