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

auth tests: Skip site if properties are null #3005

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

kingthorin
Copy link
Member

A site might appear to be "null" if it depends on a config.local.

@kingthorin
Copy link
Member Author

Only two lines were really added, though indenting was changed throughout.
If you hide white space in the diff it's much more obvious.

@psiinon
Copy link
Member

psiinon commented Mar 6, 2025

Logo
Checkmarx One – Scan Summary & Details8439db99-8b01-4b30-8c50-1f09e4c19ccb

Great job, no security vulnerabilities found in this Pull Request

@thc202
Copy link
Member

thc202 commented Mar 6, 2025

Thank you!

@thc202
Copy link
Member

thc202 commented Mar 6, 2025

While the commit message matches the code (calling it "site") it's misleading calling the site null, as it's not the site that's null, it's its properties.

A site might appear to be "null" if it depends on a config.local.

Signed-off-by: kingthorin <[email protected]>
@kingthorin kingthorin changed the title auth tests: Skip site if null auth tests: Skip site if properties are null Mar 6, 2025
@kingthorin kingthorin requested a review from psiinon March 7, 2025 14:33
@psiinon psiinon merged commit 481d05e into zaproxy:main Mar 7, 2025
4 checks passed
@kingthorin kingthorin deleted the auth-site-null branch March 7, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants