@@ -148,7 +148,7 @@ describe('SchemaRegistryClient Integration Test', () => {
148
148
const getMetadataResponse : SchemaMetadata = await schemaRegistryClient . getSchemaMetadata ( testSubject , schemaVersion ) ;
149
149
expect ( schemaMetadata ) . toEqual ( getMetadataResponse ) ;
150
150
151
- const keyValueMetadata : { [ key : string ] : string } = {
151
+ const keyValueMetadata : { [ key : string ] : string } = {
152
152
'owner' : 'Bob Jones' ,
153
153
154
154
}
@@ -163,11 +163,11 @@ describe('SchemaRegistryClient Integration Test', () => {
163
163
164
164
const version = registerResponse ?. version ! ;
165
165
166
- const updateCompatibilityResponse : Compatibility = await schemaRegistryClient . updateCompatibility ( testSubject , Compatibility . BackwardTransitive ) ;
167
- expect ( updateCompatibilityResponse ) . toEqual ( Compatibility . BackwardTransitive ) ;
166
+ const updateCompatibilityResponse : Compatibility = await schemaRegistryClient . updateCompatibility ( testSubject , Compatibility . BACKWARD_TRANSITIVE ) ;
167
+ expect ( updateCompatibilityResponse ) . toEqual ( Compatibility . BACKWARD_TRANSITIVE ) ;
168
168
169
169
const getCompatibilityResponse : Compatibility = await schemaRegistryClient . getCompatibility ( testSubject ) ;
170
- expect ( getCompatibilityResponse ) . toEqual ( Compatibility . BackwardTransitive ) ;
170
+ expect ( getCompatibilityResponse ) . toEqual ( Compatibility . BACKWARD_TRANSITIVE ) ;
171
171
172
172
const testSubjectCompatibilityResponse : boolean = await schemaRegistryClient . testSubjectCompatibility ( testSubject , backwardCompatibleSchemaInfo ) ;
173
173
expect ( testSubjectCompatibilityResponse ) . toEqual ( true ) ;
@@ -177,21 +177,21 @@ describe('SchemaRegistryClient Integration Test', () => {
177
177
} ) ;
178
178
179
179
it ( 'Should update and get default compatibility' , async ( ) => {
180
- const updateDefaultCompatibilityResponse : Compatibility = await schemaRegistryClient . updateDefaultCompatibility ( Compatibility . Full ) ;
181
- expect ( updateDefaultCompatibilityResponse ) . toEqual ( Compatibility . Full ) ;
180
+ const updateDefaultCompatibilityResponse : Compatibility = await schemaRegistryClient . updateDefaultCompatibility ( Compatibility . FULL ) ;
181
+ expect ( updateDefaultCompatibilityResponse ) . toEqual ( Compatibility . FULL ) ;
182
182
183
183
const getDefaultCompatibilityResponse : Compatibility = await schemaRegistryClient . getDefaultCompatibility ( ) ;
184
- expect ( getDefaultCompatibilityResponse ) . toEqual ( Compatibility . Full ) ;
184
+ expect ( getDefaultCompatibilityResponse ) . toEqual ( Compatibility . FULL ) ;
185
185
} ) ;
186
186
187
187
it ( 'Should update and get subject Config' , async ( ) => {
188
188
const subjectConfigRequest : ServerConfig = {
189
- compatibility : Compatibility . Full ,
189
+ compatibility : Compatibility . FULL ,
190
190
normalize : true
191
191
} ;
192
192
193
193
const subjectConfigResponse : ServerConfig = {
194
- compatibilityLevel : Compatibility . Full ,
194
+ compatibilityLevel : Compatibility . FULL ,
195
195
normalize : true
196
196
} ;
197
197
@@ -207,12 +207,12 @@ describe('SchemaRegistryClient Integration Test', () => {
207
207
208
208
it ( 'Should get and set default Config' , async ( ) => {
209
209
const serverConfigRequest : ServerConfig = {
210
- compatibility : Compatibility . Full ,
210
+ compatibility : Compatibility . FULL ,
211
211
normalize : false
212
212
} ;
213
213
214
214
const serverConfigResponse : ServerConfig = {
215
- compatibilityLevel : Compatibility . Full ,
215
+ compatibilityLevel : Compatibility . FULL ,
216
216
normalize : false
217
217
} ;
218
218
0 commit comments