Skip to content

TRUNK-6692: Make test resource path constants immutable#6343

Merged
ibacher merged 1 commit into
openmrs:masterfrom
imandeepduhan:TRUNK-6692
Jul 17, 2026
Merged

TRUNK-6692: Make test resource path constants immutable#6343
ibacher merged 1 commit into
openmrs:masterfrom
imandeepduhan:TRUNK-6692

Conversation

@imandeepduhan

Copy link
Copy Markdown
Contributor

What does this PR do?

Marks the test resource path constants as final in the Liquibase test classes, as they are initialized only once and are never reassigned.

Why is this needed?

This is a small code quality improvement that makes the code's intent clearer by indicating that these values are immutable, without introducing any functional changes.

JIRA TICKET : https://openmrs.atlassian.net/browse/TRUNK-6692

@sonarqubecloud

Copy link
Copy Markdown

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.45%. Comparing base (c6fcdc5) to head (dbe9305).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6343      +/-   ##
============================================
- Coverage     59.47%   59.45%   -0.03%     
- Complexity     9539     9540       +1     
============================================
  Files           731      731              
  Lines         38323    38323              
  Branches       5587     5587              
============================================
- Hits          22793    22784       -9     
- Misses        13492    13500       +8     
- Partials       2038     2039       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jwnasambu

Copy link
Copy Markdown
Contributor

@claude review

@jwnasambu jwnasambu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@imandeepduhan Thanks this L.G.T.M. Kindly update this branch with the latest changes from master and you be good to go.

@imandeepduhan

Copy link
Copy Markdown
Contributor Author

@jwnasambu Thanks ! I updated my branch with the latest changes from master. It is already up to date.

@imandeepduhan

imandeepduhan commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

@dkayiwa @ibacher , could you please review this PR? Thank you!

@ibacher
ibacher merged commit b8a9017 into openmrs:master Jul 17, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants