@@ -301,7 +301,8 @@ public function testHandleImipReplyNoCalendars(): void {
301301 ])
302302 ->setMethods ([
303303 'getCalendarsForPrincipal '
304- ]);
304+ ])
305+ ->getMock ();
305306 $ principalUri = 'principals/user/linus ' ;
306307 $ sender = 'pierre@general-store.com ' ;
307308 $ recipient = 'linus@stardew-tent-living.com ' ;
@@ -331,7 +332,8 @@ public function testHandleImipReplyEventNotFound(): void {
331332 ])
332333 ->setMethods ([
333334 'getCalendarsForPrincipal '
334- ]);
335+ ])
336+ ->getMock ();
335337 $ calendar = $ this ->createMock (ICreateFromString::class);
336338 $ principalUri = 'principals/user/linus ' ;
337339 $ sender = 'pierre@general-store.com ' ;
@@ -367,7 +369,8 @@ public function testHandleImipReply(): void {
367369 ])
368370 ->setMethods ([
369371 'getCalendarsForPrincipal '
370- ]);
372+ ])
373+ ->getMock ();
371374 $ calendar = $ this ->createMock (ICreateFromString::class);
372375 $ principalUri = 'principals/user/linus ' ;
373376 $ sender = 'pierre@general-store.com ' ;
@@ -454,7 +457,8 @@ public function testHandleImipCancelNoCalendars(): void {
454457 ])
455458 ->setMethods ([
456459 'getCalendarsForPrincipal '
457- ]);
460+ ])
461+ ->getMock ();
458462 $ principalUri = 'principals/user/pierre ' ;
459463 $ sender = 'linus@stardew-tent-living.com ' ;
460464 $ recipient = 'pierre@general-store.com ' ;
@@ -486,7 +490,8 @@ public function testHandleImipCancelOrganiserInReplyTo(): void {
486490 ])
487491 ->setMethods ([
488492 'getCalendarsForPrincipal '
489- ]);
493+ ])
494+ ->getMock ();
490495 $ principalUri = 'principals/user/pierre ' ;
491496 $ sender = 'clint@stardew-blacksmiths.com ' ;
492497 $ recipient = 'pierre@general-store.com ' ;
@@ -523,7 +528,8 @@ public function testHandleImipCancel(): void {
523528 ])
524529 ->setMethods ([
525530 'getCalendarsForPrincipal '
526- ]);
531+ ])
532+ ->getMock ();
527533 $ principalUri = 'principals/user/pierre ' ;
528534 $ sender = 'linus@stardew-tent-living.com ' ;
529535 $ recipient = 'pierre@general-store.com ' ;
0 commit comments