diff --git a/tests/Kiota.Builder.Tests/Writers/Java/CodeMethodWriterTests.cs b/tests/Kiota.Builder.Tests/Writers/Java/CodeMethodWriterTests.cs index 4fc0406737..3d2cddff44 100644 --- a/tests/Kiota.Builder.Tests/Writers/Java/CodeMethodWriterTests.cs +++ b/tests/Kiota.Builder.Tests/Writers/Java/CodeMethodWriterTests.cs @@ -1723,10 +1723,10 @@ public void WritesGetterToFieldWithEnumSetParameter() setup(); var codeEnumType = new CodeType { - Name = "customEnum", + Name = "customEnum", TypeDefinition = new CodeEnum { - Name = "customEnumType", + Name = "customEnumType", Flags = true } };