Skip to content

Commit d70cb35

Browse files
author
Alexander Ost
committed
Fix Gerrit Check tests
1 parent ce90a2a commit d70cb35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/jenkins/plugins/gerrit/workflow/GerritCheckStepTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void gerritCheckStepInvokeFailSSLValidationTest() throws Exception {
8181
""
8282
+ "node {\n"
8383
+ " withEnv([\n"
84-
+ " 'GERRIT_API_URL=https://%s:%s/a/project',\n"
84+
+ " 'GERRIT_API_URL=https://%s:%s',\n"
8585
+ " 'GERRIT_CREDENTIALS_ID=cid',\n"
8686
+ " 'BRANCH_NAME=%s',\n"
8787
+ " ]) {\n"
@@ -125,7 +125,7 @@ public void gerritCheckStepInvokeTest() throws Exception {
125125
""
126126
+ "node {\n"
127127
+ " withEnv([\n"
128-
+ " 'GERRIT_API_URL=https://%s:%s/a/project',\n"
128+
+ " 'GERRIT_API_URL=https://%s:%s',\n"
129129
+ " 'GERRIT_API_INSECURE_HTTPS=true',\n"
130130
+ " 'GERRIT_CREDENTIALS_ID=cid',\n"
131131
+ " 'BRANCH_NAME=%s',\n"
@@ -184,7 +184,7 @@ public void gerritCheckStepTestWithUrlSet() throws Exception {
184184
""
185185
+ "node {\n"
186186
+ " withEnv([\n"
187-
+ " 'GERRIT_API_URL=https://%s:%s/a/project',\n"
187+
+ " 'GERRIT_API_URL=https://%s:%s',\n"
188188
+ " 'GERRIT_API_INSECURE_HTTPS=true',\n"
189189
+ " 'GERRIT_CREDENTIALS_ID=cid',\n"
190190
+ " 'BRANCH_NAME=%s',\n"
@@ -242,7 +242,7 @@ public void gerritCheckStepTestProducesUtcTimestamps() throws Exception {
242242
""
243243
+ "node {\n"
244244
+ " withEnv([\n"
245-
+ " 'GERRIT_API_URL=https://%s:%s/a/project',\n"
245+
+ " 'GERRIT_API_URL=https://%s:%s',\n"
246246
+ " 'GERRIT_API_INSECURE_HTTPS=true',\n"
247247
+ " 'GERRIT_CREDENTIALS_ID=cid',\n"
248248
+ " 'BRANCH_NAME=%s',\n"

0 commit comments

Comments
 (0)