@@ -4234,7 +4234,7 @@ define(['ably', 'shared_helper', 'chai', 'objects', 'objects_helper'], function
42344234 } , client ) ;
42354235 } ) ;
42364236
4237- it ( 'gcGracePeriod is set from connectionDetails' , async function ( ) {
4237+ it ( 'gcGracePeriod is set from connectionDetails.objectsGCGracePeriod ' , async function ( ) {
42384238 const helper = this . test . helper ;
42394239 const client = RealtimeWithObjects ( helper ) ;
42404240
@@ -4248,11 +4248,11 @@ define(['ably', 'shared_helper', 'chai', 'objects', 'objects_helper'], function
42484248
42494249 // gcGracePeriod should be set after the initial connection
42504250 helper . recordPrivateApi ( 'read.Objects.gcGracePeriod' ) ;
4251- expect ( objects . gcGracePeriod , 'Check gcGracePeriod is set after initial connection' ) . to . exist ;
4251+ expect ( objects . gcGracePeriod , 'Check gcGracePeriod is set after initial connection from connectionDetails.objectsGCGracePeriod ' ) . to . exist ;
42524252 helper . recordPrivateApi ( 'read.Objects.gcGracePeriod' ) ;
42534253 expect ( objects . gcGracePeriod ) . to . equal (
4254- connectionDetails . gcGracePeriod ,
4255- 'Check gcGracePeriod is set to equal connectionDetails.gcGracePeriod ' ,
4254+ connectionDetails . objectsGCGracePeriod ,
4255+ 'Check gcGracePeriod is set to equal connectionDetails.objectsGCGracePeriod ' ,
42564256 ) ;
42574257
42584258 const connectionDetailsPromise = connectionManager . once ( 'connectiondetails' ) ;
@@ -4265,7 +4265,7 @@ define(['ably', 'shared_helper', 'chai', 'objects', 'objects_helper'], function
42654265 action : 4 , // CONNECTED
42664266 connectionDetails : {
42674267 ...connectionDetails ,
4268- gcGracePeriod : 999 ,
4268+ objectsGCGracePeriod : 999 ,
42694269 } ,
42704270 } ) ,
42714271 ) ;
0 commit comments