go-kafka-avro
go-kafka-avro copied to clipboard
Fix failing test for avro producer
This PR fixes the failing test for the Avro producer:
--- FAIL: TestAvroProducer_Add (0.00s)
avroProducer_test.go:17: Error adding msg: unexpected end of JSON input
sync_producer.go:115: Expected to exhaust all expectations, but 1 are left.
due to not matching request url with the POST
switch case of the createSchemaRegistryTestObject
switch