- πΈπͺSweden alayham
Added a few functional tests, plus some minor phpcs and optimization fixes.
For discussion:
- Do we need to invalidate the page cache after saving the settings form?
- The install test is redundant as it is included in multiple other tests, should we remove it? - last update
about 1 year ago 7 pass - Status changed to Needs review
about 1 year ago 10:54am 21 October 2023 - Status changed to Needs work
about 1 year ago 9:09am 27 October 2023 - π©πͺGermany Grevil
Thanks, @alayham! Could you provide your patch as an MR? I'd appreciate that!
- πΈπͺSweden alayham
@Grevil Why?
I have not done much development in Drupal for a while, is there a rule against using patch files that I missed?
I have downloaded the module and started writing tests without creating a fork, when done I thought the patch file is clear and readable and I did not know of any rule or decision against using patch files. - π©πͺGermany Grevil
It is generally way easier to review, since you have the beautiful Gitlab UI at your hands, which gives you highlighted diffs, the ability to comment changes, a WEB IDE and further features like automatically rebasing your code to the current dev release, which helps a lot, if an issue is open for a while.
I'll quickly create one for you.
- last update
about 1 year ago 7 pass - Status changed to Needs review
about 1 year ago 12:00pm 30 October 2023 - π©πͺGermany Grevil
Done. Also since DrupalCI is deprecated and will be replaced with Gitlab CI β , no tests will run on a provided patch.
Back to "Needs review".
- Status changed to Needs work
about 1 year ago 12:38pm 30 October 2023 - π©πͺGermany Anybody Porta Westfalica
@alayham thanks! I reviewed this basicylly. @Grevil did you already take a look at the tests?
Needs a follow-up for the cache thing, see comment.
- Status changed to Needs review
about 1 year ago 2:23pm 16 November 2023 - Status changed to Needs work
about 1 year ago 11:23am 20 November 2023 - Status changed to Needs review
about 1 year ago 12:06pm 20 November 2023 - πΈπͺSweden alayham
The followup issue link is in comment 13, here it is again
π Should we Invalidate the page cache after saving settings? Active - last update
about 1 year ago 7 pass -
alayham β
committed ee72cebe on 3.x
Issue #3304472 by alayham, Grevil, Anybody: Write functionality tests
-
alayham β
committed ee72cebe on 3.x
- Status changed to Fixed
about 1 year ago 6:39pm 25 November 2023 Automatically closed - issue fixed for 2 weeks with no activity.