Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
azurit authored Mar 1, 2024
1 parent 09d309e commit 59058e6
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion tests/regression/wordpress-rule-exclusions-plugin/9507971.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
meta:
author: "Esad Cetiner"
author: "Esad Cetiner, azurit"
description: "Wordpress Rule Exclusions Plugin"
enabled: true
name: 9507971.yaml
Expand Down Expand Up @@ -37,3 +37,35 @@ tests:
data: "plugins extend and expand the functionality of wordpress"
output:
no_log_contains: id "953101"
- test_title: 9507971-3
desc: Disable 953100
stages:
- stage:
input:
dest_addr: 127.0.0.1
headers:
Host: localhost
User-Agent: OWASP CRS
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
port: 80
method: GET
uri: /wp-admin/plugin-install.php
data: "Fixed: Call to a member function get_meta() on null error on WooCommerce order received page"
output:
no_log_contains: id "953100"
- test_title: 9507971-4
desc: Disable 951240
stages:
- stage:
input:
dest_addr: 127.0.0.1
headers:
Host: localhost
User-Agent: OWASP CRS
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
port: 80
method: GET
uri: /wp-admin/plugin-install.php
data: "warnings</p>\x0a<p>=1.9=<br />\x0a* [Added] Donation link because I&#8217;m poor<br />\x0a* [Removed] errors and deprecating warnings</p>\x0a<p>=1.8.1=<br />\x0a* [Updated] Renamed function from ‚my_profile_update‘ to ‚apg_profile_update‘"
output:
no_log_contains: id "951240"

0 comments on commit 59058e6

Please sign in to comment.