Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Beautify DataApprovalServiceC.O.G.Test #9064

Merged
merged 1 commit into from
Oct 22, 2021
Merged

Conversation

jimgrace
Copy link
Member

@jimgrace jimgrace commented Oct 14, 2021

When DataApprovalServiceCategoryOptionGroupTest had maximum line lengths enforced by Spotless, it made the code much less readable. This PR reformats the code, as much as possible, to at or near the original readability while staying within the Spotless line lengths.

I started this reformatting as I was working on pull/9052 to satisfy DHIS2-11981, but the changes became extensive enough that I decided it would be better in a separate PR.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@jbee jbee left a comment

Choose a reason for hiding this comment

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

Apart from eq as assertion name LGTM. I think we discuss this in tomorrow's weekly backend platform meeting.

@jimgrace jimgrace requested a review from jbee October 18, 2021 19:30
@jimgrace jimgrace requested a review from mortenoh October 19, 2021 18:21
@jimgrace jimgrace merged commit 40665fb into master Oct 22, 2021
@jimgrace jimgrace deleted the jimgrace-refactor branch October 22, 2021 03:41
@jimgrace jimgrace restored the jimgrace-refactor branch November 6, 2021 19:47
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.

3 participants