From e7e4ab188dd8c8b81c7cc02b5d22435e512a59c2 Mon Sep 17 00:00:00 2001 From: Martin <2026226+martin-mfg@users.noreply.github.com> Date: Mon, 2 Oct 2023 18:59:32 +0200 Subject: [PATCH] fix one test --- .../java/org/openapitools/codegen/java/JavaModelTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/JavaModelTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/JavaModelTest.java index 221736e4ea52..873504f7ff66 100644 --- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/JavaModelTest.java +++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/java/JavaModelTest.java @@ -973,7 +973,7 @@ public void modelWithWrappedXmlTest() { Assert.assertEquals(property2.getter, "getArray"); Assert.assertEquals(property2.setter, "setArray"); Assert.assertEquals(property2.dataType, "List"); - Assert.assertEquals(property2.name, "array"); + Assert.assertEquals(property2.name, "_array"); Assert.assertEquals(property2.defaultValue, null); Assert.assertEquals(property2.baseType, "List"); Assert.assertTrue(property2.isContainer); @@ -983,7 +983,7 @@ public void modelWithWrappedXmlTest() { Assert.assertNotNull(property2.items); CodegenProperty items = property2.items; Assert.assertEquals(items.xmlName, "i"); - Assert.assertEquals(items.baseName, "array"); + Assert.assertEquals(items.baseName, "_array"); } @Test(description = "convert a boolean parameter")