Issue::update(): allow to unset fixed_version_id (fixes #466)#467
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughPreserves empty-string Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v2.x #467 +/- ##
=========================================
Coverage 98.72% 98.72%
- Complexity 781 783 +2
=========================================
Files 29 29
Lines 2273 2275 +2
=========================================
+ Hits 2244 2246 +2
Misses 29 29 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@tests/Unit/Api/Issue/UpdateTest.php`:
- Around line 129-144: The test data array contains a duplicate key 'test
unassign user from issue' which overwrites the earlier case for assigned_to_id;
rename this key to a unique, accurate name (e.g. 'test unassign version from
issue' or similar) in the data provider inside UpdateTest so the original
assigned_to_id test is not lost and the case clearly reflects that
fixed_version_id is being unset; update any related descriptive strings in the
same test method if they reference the old name to keep messages consistent.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 3ce2a29f-deb5-4bc5-8c58-b65d67983933
📒 Files selected for processing (1)
tests/Unit/Api/Issue/UpdateTest.php
|
Thank you very much for your contribution. This looks very good. 👍 I will run some e2e tests later and adjust the behat tests if needed and will release a hotfix release. |
See #466 for details.
Summary by CodeRabbit
New Features
Tests