@@ -148,7 +148,7 @@ describe('SchemaRegistryClient Integration Test', () => {
148148 const getMetadataResponse : SchemaMetadata = await schemaRegistryClient . getSchemaMetadata ( testSubject , schemaVersion ) ;
149149 expect ( schemaMetadata ) . toEqual ( getMetadataResponse ) ;
150150
151- const keyValueMetadata : { [ key : string ] : string } = {
151+ const keyValueMetadata : { [ key : string ] : string } = {
152152 'owner' : 'Bob Jones' ,
153153154154 }
@@ -163,11 +163,11 @@ describe('SchemaRegistryClient Integration Test', () => {
163163
164164 const version = registerResponse ?. version ! ;
165165
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 ) ;
168168
169169 const getCompatibilityResponse : Compatibility = await schemaRegistryClient . getCompatibility ( testSubject ) ;
170- expect ( getCompatibilityResponse ) . toEqual ( Compatibility . BackwardTransitive ) ;
170+ expect ( getCompatibilityResponse ) . toEqual ( Compatibility . BACKWARD_TRANSITIVE ) ;
171171
172172 const testSubjectCompatibilityResponse : boolean = await schemaRegistryClient . testSubjectCompatibility ( testSubject , backwardCompatibleSchemaInfo ) ;
173173 expect ( testSubjectCompatibilityResponse ) . toEqual ( true ) ;
@@ -177,21 +177,21 @@ describe('SchemaRegistryClient Integration Test', () => {
177177 } ) ;
178178
179179 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 ) ;
182182
183183 const getDefaultCompatibilityResponse : Compatibility = await schemaRegistryClient . getDefaultCompatibility ( ) ;
184- expect ( getDefaultCompatibilityResponse ) . toEqual ( Compatibility . Full ) ;
184+ expect ( getDefaultCompatibilityResponse ) . toEqual ( Compatibility . FULL ) ;
185185 } ) ;
186186
187187 it ( 'Should update and get subject Config' , async ( ) => {
188188 const subjectConfigRequest : ServerConfig = {
189- compatibility : Compatibility . Full ,
189+ compatibility : Compatibility . FULL ,
190190 normalize : true
191191 } ;
192192
193193 const subjectConfigResponse : ServerConfig = {
194- compatibilityLevel : Compatibility . Full ,
194+ compatibilityLevel : Compatibility . FULL ,
195195 normalize : true
196196 } ;
197197
@@ -207,12 +207,12 @@ describe('SchemaRegistryClient Integration Test', () => {
207207
208208 it ( 'Should get and set default Config' , async ( ) => {
209209 const serverConfigRequest : ServerConfig = {
210- compatibility : Compatibility . Full ,
210+ compatibility : Compatibility . FULL ,
211211 normalize : false
212212 } ;
213213
214214 const serverConfigResponse : ServerConfig = {
215- compatibilityLevel : Compatibility . Full ,
215+ compatibilityLevel : Compatibility . FULL ,
216216 normalize : false
217217 } ;
218218
0 commit comments