File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/org/jenkinsci/plugins/gogs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public void whenEmptyHeaderTypeMustReturnError() throws Exception {
8989 //validate that everything was done as planed
9090 verify (staplerResponse ).setStatus (403 );
9191
92- String expectedOutput = "Only push event can be accepted." ;
92+ String expectedOutput = "Only push or release events are accepted." ;
9393 isExpectedOutput (uniqueFile , expectedOutput );
9494
9595 log .info ("Test succeeded." );
@@ -110,7 +110,7 @@ public void whenWrongHeaderTypeMustReturnError() throws Exception {
110110 //validate that everything was done as planed
111111 verify (staplerResponse ).setStatus (403 );
112112
113- String expectedOutput = "Only push event can be accepted." ;
113+ String expectedOutput = "Only push or release events are accepted." ;
114114 isExpectedOutput (uniqueFile , expectedOutput );
115115
116116 log .info ("Test succeeded." );
You can’t perform that action at this time.
0 commit comments