-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: create regression tests 9520130 9520131 9520132
- Loading branch information
1 parent
f36bc03
commit fdabd00
Showing
4 changed files
with
159 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
meta: | ||
author: "Esad Cetiner" | ||
description: "SOGo Rule Exclusions Plugin" | ||
enabled: true | ||
name: 9520130.yaml | ||
tests: | ||
- test_title: 9520130-1 | ||
desc: Disable 931130 for ARGS:json.attachUrls.array_0.value | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: SOGo rule exclusions plugin | ||
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: /SOGo/so/[email protected]/Calendar/mycalendar/calendar.ics/saveAsTask?json.attachUrls.array_0.value=https://example.com/ | ||
output: | ||
no_log_contains: id "931130" | ||
- test_title: 9520130-2 | ||
desc: Disable 931130 for ARGS:json.attachUrls.array_0.value | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: SOGo rule exclusions plugin | ||
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: /SOGo/so/[email protected]/Calendar/mycalendar/calendar.ics/save?json.attachUrls.array_0.value=https://example.com/ | ||
output: | ||
no_log_contains: id "931130" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
meta: | ||
author: "Esad Cetiner" | ||
description: "SOGo Rule Exclusions Plugin" | ||
enabled: true | ||
name: 9520131.yaml | ||
tests: | ||
- test_title: 9520131-1 | ||
desc: Disable 931130 for ARGS:json.attachUrls.array_0.value | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: SOGo rule exclusions plugin | ||
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: /SOGo/so/[email protected]/Calendar/mycalendar/calendar.ics/occurence42/save?json.attachUrls.array_0.value=https://example.com/ | ||
output: | ||
no_log_contains: id "931130" | ||
- test_title: 9520131-2 | ||
desc: Disable 931130 for ARGS:json.attachUrls.array_0.value | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: SOGo rule exclusions plugin | ||
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: /SOGo/so/[email protected]/Calendar/mycalendar/calendar.ics/saveAsAppointment?json.attachUrls.array_0.value=https://example.com/ | ||
output: | ||
no_log_contains: id "931130" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
--- | ||
meta: | ||
author: "Esad Cetiner" | ||
description: "SOGo Rule Exclusions Plugin" | ||
enabled: true | ||
name: 9520132.yaml | ||
tests: | ||
- test_title: 9520132-1 | ||
desc: Disable 931130 for ARGS:json.urls.webDavICSURL | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: SOGo rule exclusions plugin | ||
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: /SOGo/so/[email protected]/Calendar/mycalendar/save?json.urls.webDavICSURL=https://example.com/ | ||
output: | ||
no_log_contains: id "931130" | ||
- test_title: 9520132-2 | ||
desc: Disable 931130 for ARGS:json.urls.webDavXMLURL | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: SOGo rule exclusions plugin | ||
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: /SOGo/so/[email protected]/Calendar/mycalendar/save?json.urls.webDavXMLURL=https://example.com/ | ||
output: | ||
no_log_contains: id "931130" | ||
- test_title: 9520132-3 | ||
desc: Disable 931130 for ARGS:json.urls.webDavURL | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: SOGo rule exclusions plugin | ||
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: /SOGo/so/[email protected]/Calendar/mycalendar/save?json.urls.webDavURL=https://example.com/ | ||
output: | ||
no_log_contains: id "931130" | ||
- test_title: 9520132-4 | ||
desc: Disable 931130 for ARGS:json.urls.calDavURL | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: SOGo rule exclusions plugin | ||
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: /SOGo/so/[email protected]/Calendar/mycalendar/save?json.urls.calDavURL=https://example.com/ | ||
output: | ||
no_log_contains: id "931130" | ||
- test_title: 9520132-5 | ||
desc: Disable 931130 for ARGS:json.urls.webCalendarURL | ||
stages: | ||
- stage: | ||
input: | ||
dest_addr: 127.0.0.1 | ||
headers: | ||
Host: localhost | ||
User-Agent: SOGo rule exclusions plugin | ||
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: /SOGo/so/[email protected]/Calendar/mycalendar/save?json.urls.webCalendarURL=https://example.com/ | ||
output: | ||
no_log_contains: id "931130" |