Skip to content

Simplify DropwizardSlf4jRequestLogWriterTest#10290

Merged
joschi merged 1 commit intodropwizard:release/4.0.xfrom
rhowe:simplify-test
Aug 20, 2025
Merged

Simplify DropwizardSlf4jRequestLogWriterTest#10290
joschi merged 1 commit intodropwizard:release/4.0.xfrom
rhowe:simplify-test

Conversation

@rhowe
Copy link
Copy Markdown
Contributor

@rhowe rhowe commented Jul 24, 2025

There were some unused mocks in this test, so remove them.

Also, we can replace ArgumentCaptor with mockito's new assertArg helper

@rhowe rhowe requested a review from a team as a code owner July 24, 2025 06:08
@github-actions github-actions bot added this to the 4.0.15 milestone Jul 24, 2025
@joschi joschi modified the milestones: 4.0.15, 4.0.16 Jul 24, 2025
Copy link
Copy Markdown
Member

@joschi joschi left a comment

Choose a reason for hiding this comment

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

@rhowe Could you please use explicit imports instead of wildcard imports?

Otherwise this looks good to me.

There were some unused mocks in this test, so remove them.

Also, we can replace ArgumentCaptor with mockito's new assertArg helper
@joschi joschi merged commit 62bbb92 into dropwizard:release/4.0.x Aug 20, 2025
11 checks passed
joschi pushed a commit that referenced this pull request Aug 20, 2025
There were some unused mocks in this test, so remove them.

Also, we can replace ArgumentCaptor with mockito's new assertArg helper
@rhowe rhowe deleted the simplify-test branch August 20, 2025 19:33
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.

2 participants