We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82f7825 commit 6013f08Copy full SHA for 6013f08
src/main/java/ru/mystamps/web/feature/site/CspController.java
@@ -33,7 +33,6 @@
33
public class CspController {
34
private static final String UNKNOWN = "<unknown>";
35
36
- // @todo #1058 /site/csp/reports: add integration tests
37
@PostMapping(SiteUrl.CSP_REPORTS_HANDLER)
38
@ResponseStatus(HttpStatus.NO_CONTENT)
39
public void handleReport(
src/test/robotframework/site/csp/report-logic.robot
@@ -0,0 +1,10 @@
1
+*** Settings ***
2
+Documentation Verify CSP report submission scenario
3
+Library HttpRequestLibrary
4
+Force Tags site csp logic
5
+
6
+*** Test Cases ***
7
+CSP report should be accepted
8
+ Create Session server ${SITE_URL}
9
+ Post Request server /site/csp/reports data="{}"
10
+ Response Code Should Be server 204
0 commit comments