Closed (fixed)
Project:
Drupal core
Version:
10.3.x-dev
Component:
update.module
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Apr 2020 at 13:42 UTC
Updated:
1 May 2024 at 14:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tedbowHere is on patch on #3100386-35: Create contrib update module test cases that use semantic versioning
I think 3127168-2-do-not-test.patch shows that breaking this off from #3100386 makes sense
Comment #3
tedbowUnassigning myself
We could still work on this method while waiting on #3100386: Create contrib update module test cases that use semantic versioning so I won't postpone it for now.
Comment #4
dwwAgreed on splitting this out. Seems it should be at least major though, since the parent is critical and this is essential functionality we quickly want coverage of.
A few concerns/nits for 3127168-2-do-not-test.patch:
Missing a space in front.
#3113798: Remove unused (and generally wrong) <tag> markup from Update module test XML fixtures or fix.
Until we prioritize #3115435: Make clear why each XML update.module fixture is created the way it is, every update manager issue that adds new test fixtures is adding technical debt since it's making more work for ourselves at #3115435. Since this is a brand new fixture for this issue, let's document it as part of this issue.
Any reason this one is indented 2 spaces, every other one only 1? Oh, at the bottom of the file there are a few more indented 2 spaces. Can we pick an indentation and be consistent about it?
Tests?
as $installed_versionmight make more sense for the scope of this foreach.A comment for why we continue/skip this case would be helpful.
I thought our convention was:
"@todo In https://.../node/x determine ..." and to indent subsequent lines of the same @todo.
Thanks,
-Derek
Comment #5
dwwComment #11
kunal.sachdev commentedOpened a merge request , there are no changes from the patch file yet though.
Comment #17
quietone commentedTwo fixtures were missed in the original conversion of the patch. With those restored the test was passing locally. And then I did the cleanup from #4.
Comment #18
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #19
quietone commentedComment #21
smustgrave commentedVery nice additional test @quietone!
Added a small nitpicky change but additional test coverage appears fine to me.
Comment #22
longwaveCommitted and pushed 6c1d6a5b5e to 11.x and 6313a810fb to 10.3.x. Thanks!