Closed (fixed)
Project:
Apple News
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2021 at 21:37 UTC
Updated:
17 May 2021 at 16:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
betoaveigaComment #3
m4oliveiTaking a look at this. Lets see if we can write a test for this. Also it would be good to ensure consistency for the
endpointvalue, wether that's in the UI, or if we just make the code that puts together these section URLs more robust.Comment #4
m4oliveiComment #6
m4oliveiI did both things I mentioned:
urlfield type, and trim any trailing slash submitted for consistencyI also added additional tests for the settings form. I would have liked some tests for
\Drupal\applenews\ApplenewsManageras well, but that class is a bit of a bear ATM and could use some refactoring to make it test friendly. A task for another day.Comment #8
m4oliveiWent ahead and merged it. Feel free to re-open / create a new issue if necessary.