Skip to content

Commit 5c91c39

Browse files
committed
Revert "Fix Schema Registry tests"
This reverts commit c803f84.
1 parent c803f84 commit 5c91c39

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

schema-registry/spring-cloud-stream-schema-registry-server/src/test/java/org/springframework/cloud/stream/schema/registry/server/SchemaRegistryServerAvroTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ class SchemaRegistryServerAvroTests {
100100
private static final Schema AAVRO_USER_REGISTRY_SCHEMA_V1_WITH_QUAL_SUBJECT = toSchema(
101101
AVRO_USER_SCHEMA_QUALIFED_NAME_STRATEGY_SUBJECT,
102102
AVRO_FORMAT_NAME, AVRO_USER_AVRO_SCHEMA_V1.toString());
103-
104-
private TestRestTemplate client = new TestRestTemplate();
103+
104+
@Autowired
105+
private TestRestTemplate client;
105106

106107
@Autowired
107108
private SchemaServerProperties schemaServerProperties;

0 commit comments

Comments
 (0)