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

test: Logical, syntax and cosmetic fixes on test cases #3080

Merged
merged 3 commits into from
Feb 14, 2024

Conversation

airween
Copy link
Member

@airween airween commented Feb 11, 2024

Tests are a very important part of the library. While investigating an issue, I found some errors in the tests that could have led to false results, such as using a non-existent @contais operator instead of @contains. This PR fixes these and some other cases.

@airween airween requested a review from dune73 February 11, 2024 09:20
@airween airween added the 3.x Related to ModSecurity version 3.x label Feb 11, 2024
@airween airween self-assigned this Feb 11, 2024
Copy link
Contributor

@MirkoDziadzka MirkoDziadzka left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Copy link

sonarcloud bot commented Feb 12, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@MirkoDziadzka MirkoDziadzka left a comment

Choose a reason for hiding this comment

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

looks good to me

@airween airween requested review from marcstern and removed request for mirkodziadzka-avi February 13, 2024 16:09
@marcstern marcstern merged commit 4e4f329 into owasp-modsecurity:v3/master Feb 14, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Related to ModSecurity version 3.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants