Skip to content

test: extract nested SessionCookieConfig mock #1576 - #1582

Merged
hyyan merged 1 commit into
webforj:mainfrom
AzazelSensei:test/extract-session-cookie-mock-1576
Sep 4, 2026
Merged

hyyan merged 1 commit into
webforj:mainfrom
AzazelSensei:test/extract-session-cookie-mock-1576

Conversation

@AzazelSensei

Copy link
Copy Markdown
Contributor

I pulled the nested mock(SessionCookieConfig.class) in McpAppContributionTest into a local variable so it satisfies java:S9016.

Closes #1576

Sonar java:S9016 wants the mock created as a local variable.
@sonarqubecloud

sonarqubecloud Bot commented Sep 4, 2026

Copy link
Copy Markdown

@hyyan hyyan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks @AzazelSensei for your contribution

@hyyan
hyyan merged commit 8da3bcb into webforj:main Sep 4, 2026
7 checks passed
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Code Coverage

Overall Project 81.54% 🍏

There is no coverage information present for the Files changed

@hyyan hyyan added this to the 26.03 milestone Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Address java:S9016 findings in webforj-mcp-apps

2 participants