@@ -26,7 +26,7 @@ describe('Testing of the collection.tenants methods', () => {
2626 . then ( ( ) =>
2727 collection . tenants . create ( [
2828 { name : 'hot' , activityStatus : 'HOT' } ,
29- { name : 'cold-old ' , activityStatus : 'COLD' } ,
29+ { name : 'cold' , activityStatus : 'COLD' } ,
3030 { name : 'cold-new' , activityStatus : 'COLD' } ,
3131 { name : 'remove-me' , activityStatus : 'HOT' } ,
3232 ] )
@@ -69,7 +69,7 @@ describe('Testing of the collection.tenants methods', () => {
6969 } ) ;
7070
7171 it ( 'should be able to update a tenant with old nomenclature' , async ( ) => {
72- const result = await collection . tenants . update ( [ { name : 'cold-old ' , activityStatus : 'HOT' } ] ) ;
72+ const result = await collection . tenants . update ( [ { name : 'cold' , activityStatus : 'HOT' } ] ) ;
7373 expect ( result . length ) . toBe ( 1 ) ;
7474 expect ( result [ 0 ] . name ) . toBe ( 'cold' ) ;
7575 expect ( result [ 0 ] . activityStatus ) . toBe ( 'HOT' ) ;
@@ -78,7 +78,7 @@ describe('Testing of the collection.tenants methods', () => {
7878 it ( 'should be able to update a tenant with new nomenclature' , async ( ) => {
7979 const result = await collection . tenants . update ( [ { name : 'cold-new' , activityStatus : 'ACTIVE' } ] ) ;
8080 expect ( result . length ) . toBe ( 1 ) ;
81- expect ( result [ 0 ] . name ) . toBe ( 'cold' ) ;
81+ expect ( result [ 0 ] . name ) . toBe ( 'cold-new ' ) ;
8282 expect ( result [ 0 ] . activityStatus ) . toBe ( 'HOT' ) ;
8383 } ) ;
8484
0 commit comments