Skip to content

Commit 46e3295

Browse files
committed
fix test
1 parent c976b5a commit 46e3295

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

modules/openapi-generator/src/test/java/org/openapitools/codegen/utils/URLPathUtilsTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public void useDefaultUrlWhenServerUrlIsNull() {
209209
@Test
210210
public void testPropertyUrl() {
211211
String[][] testData = {
212-
{"https://abc1.xyz:9999/some/${myProperty}", "https://abc1.xyz:9999/some/${my.property}"},
212+
{"https://abc1.xyz:9999/some/${my.property}", "https://abc1.xyz:9999/some/${my.property}"},
213213
{"HTTPS://abc2.xyz:9999/some/${my.property}", "https://abc2.xyz:9999/some/${my.property}"},
214214
{"http://abc3.xyz:9999/${my.property}/path", "http://abc3.xyz:9999/${my.property}/path"},
215215
{"HTTP://abc4.xyz:9999/some/${my.property}", "http://abc4.xyz:9999/some/${my.property}"},
@@ -219,8 +219,8 @@ public void testPropertyUrl() {
219219
{"/${my.property}/path", "http://localhost/${my.property}/path"},
220220
{"https://abc1.xyz:9999/some/${my.property}/{version}", "https://abc1.xyz:9999/some/${my.property}/v1"},
221221
{"HTTPS://abc2.xyz:9999/${my.property}/{version}", "https://abc2.xyz:9999/${my.property}/v1"},
222-
{"https://abc1.xyz:9999/some/${version}/${my.property}", "https://abc1.xyz:9999/some/v1/${my.property}"},
223-
{"HTTPS://abc2.xyz:9999/{version}/${my.property}/", "https://abc2.xyz:9999/v1/${my.property}"}
222+
{"https://abc1.xyz:9999/some/{version}/${my.property}", "https://abc1.xyz:9999/some/v1/${my.property}"},
223+
{"HTTPS://abc2.xyz:9999/{version}/${my.property}", "https://abc2.xyz:9999/v1/${my.property}"}
224224

225225
};
226226

@@ -245,8 +245,8 @@ public void testPropertyUrlInVariable() {
245245
{"/{my.property}/path", "http://localhost/${my.property}/path"},
246246
{"https://abc1.xyz:9999/some/{my.property}/{version}", "https://abc1.xyz:9999/some/${my.property}/v1"},
247247
{"HTTPS://abc2.xyz:9999/{my.property}/{version}", "https://abc2.xyz:9999/${my.property}/v1"},
248-
{"https://abc1.xyz:9999/some/${version}/{my.property}", "https://abc1.xyz:9999/some/v1/${my.property}"},
249-
{"HTTPS://abc2.xyz:9999/{version}/{my.property}/", "https://abc2.xyz:9999/v1/${my.property}"}
248+
{"https://abc1.xyz:9999/some/{version}/{my.property}", "https://abc1.xyz:9999/some/v1/${my.property}"},
249+
{"HTTPS://abc2.xyz:9999/{version}/{my.property}", "https://abc2.xyz:9999/v1/${my.property}"}
250250

251251
};
252252

0 commit comments

Comments
 (0)