@@ -343,6 +343,8 @@ describe('SubscriptionOperationExecutor', () => {
343343 token : 'updated-token' ,
344344 enabled : false ,
345345 notification_types : NotificationType . UserOptedOut ,
346+ web_auth : 'some-web-auth' ,
347+ web_p256 : 'some-web-p256' ,
346348 } ) ;
347349
348350 const result = await executor . execute ( [ updateOp ] ) ;
@@ -354,6 +356,8 @@ describe('SubscriptionOperationExecutor', () => {
354356 enabled : false ,
355357 token : 'updated-token' ,
356358 notification_types : NotificationType . UserOptedOut ,
359+ web_auth : 'some-web-auth' ,
360+ web_p256 : 'some-web-p256' ,
357361 } ,
358362 } ) ;
359363 } ) ;
@@ -368,6 +372,8 @@ describe('SubscriptionOperationExecutor', () => {
368372 token : 'first-update' ,
369373 enabled : true ,
370374 notification_types : NotificationType . Subscribed ,
375+ web_auth : 'some-web-auth' ,
376+ web_p256 : 'some-web-p256' ,
371377 } ) ;
372378
373379 const updateOp2 = new UpdateSubscriptionOperation ( {
@@ -378,6 +384,8 @@ describe('SubscriptionOperationExecutor', () => {
378384 token : 'second-update' ,
379385 enabled : false ,
380386 notification_types : NotificationType . UserOptedOut ,
387+ web_auth : 'some-web-auth-2' ,
388+ web_p256 : 'some-web-p256-2' ,
381389 } ) ;
382390
383391 const result = await executor . execute ( [ updateOp1 , updateOp2 ] ) ;
@@ -390,6 +398,8 @@ describe('SubscriptionOperationExecutor', () => {
390398 enabled : false ,
391399 token : 'second-update' ,
392400 notification_types : NotificationType . UserOptedOut ,
401+ web_auth : 'some-web-auth-2' ,
402+ web_p256 : 'some-web-p256-2' ,
393403 } ,
394404 } ) ;
395405 } ) ;
0 commit comments