BAEL-7445, fix the formatting for pet schema and remove redurant comment

This commit is contained in:
kateryna.hrytsaenko 2024-03-25 12:56:43 +02:00
parent 2d762f3f83
commit 63df143479
2 changed files with 16 additions and 5 deletions

View File

@ -3,9 +3,21 @@
"name": "Pet",
"namespace": "custom.avro",
"fields": [
{ "name": "petId", "type": "string" },
{ "name": "name", "type": "string" },
{ "name": "species", "type": "string" },
{ "name": "age", "type": "int" }
{
"name": "petId",
"type": "string"
},
{
"name": "name",
"type": "string"
},
{
"name": "species",
"type": "string"
},
{
"name": "age",
"type": "int"
}
]
}

View File

@ -39,7 +39,6 @@ public class AvroCodeGenerationUnitTest {
.setAge(age)
.build();
// Assertions to verify the values
assertEquals(petId, pet.getPetId());
assertEquals(name, pet.getName());
assertEquals(species, pet.getSpecies());