@@ -1289,10 +1289,6 @@ public function testSendMailNotificationWithSameUserAndUserEmail(): void {
12891289 ->expects ($ this ->once ())
12901290 ->method ('addHeading ' )
12911291 ->with ('Mrs. Owner User shared file.txt with you ' );
1292- $ template
1293- ->expects ($ this ->once ())
1294- ->method ('addBodyText ' )
1295- ->with ('Click the button below to open it. ' );
12961292 $ template
12971293 ->expects ($ this ->once ())
12981294 ->method ('addBodyButton ' )
@@ -1399,10 +1395,6 @@ public function testSendMailNotificationWithSameUserAndUserEmailAndNote(): void
13991395 ->expects ($ this ->once ())
14001396 ->method ('addHeading ' )
14011397 ->with ('Mrs. Owner User shared file.txt with you ' );
1402- $ template
1403- ->expects ($ this ->once ())
1404- ->method ('addBodyText ' )
1405- ->with ('Click the button below to open it. ' );
14061398
14071399 $ this ->urlGenerator ->expects ($ this ->once ())->method ('imagePath ' )
14081400 ->with ('core ' , 'caldav/description.png ' )
@@ -1525,10 +1517,6 @@ public function testSendMailNotificationWithSameUserAndUserEmailAndExpiration():
15251517 ->expects ($ this ->once ())
15261518 ->method ('addHeading ' )
15271519 ->with ('Mrs. Owner User shared file.txt with you ' );
1528- $ template
1529- ->expects ($ this ->once ())
1530- ->method ('addBodyText ' )
1531- ->with ('Click the button below to open it. ' );
15321520
15331521 $ expiration = new DateTime ('2001-01-01 ' );
15341522 $ this ->l ->expects ($ this ->once ())
@@ -1657,10 +1645,6 @@ public function testSendMailNotificationWithDifferentUserAndNoUserEmail(): void
16571645 ->expects ($ this ->once ())
16581646 ->method ('addHeading ' )
16591647 ->with ('Mr. Initiator User shared file.txt with you ' );
1660- $ template
1661- ->expects ($ this ->once ())
1662- ->method ('addBodyText ' )
1663- ->with ('Click the button below to open it. ' );
16641648 $ template
16651649 ->expects ($ this ->once ())
16661650 ->method ('addBodyButton ' )
@@ -1758,10 +1742,6 @@ public function testSendMailNotificationWithSameUserAndUserEmailAndReplyToDesact
17581742 ->expects ($ this ->once ())
17591743 ->method ('addHeading ' )
17601744 ->with ('Mrs. Owner User shared file.txt with you ' );
1761- $ template
1762- ->expects ($ this ->once ())
1763- ->method ('addBodyText ' )
1764- ->with ('Click the button below to open it. ' );
17651745 $ template
17661746 ->expects ($ this ->once ())
17671747 ->method ('addBodyButton ' )
@@ -1863,10 +1843,6 @@ public function testSendMailNotificationWithDifferentUserAndNoUserEmailAndReplyT
18631843 ->expects ($ this ->once ())
18641844 ->method ('addHeading ' )
18651845 ->with ('Mr. Initiator User shared file.txt with you ' );
1866- $ template
1867- ->expects ($ this ->once ())
1868- ->method ('addBodyText ' )
1869- ->with ('Click the button below to open it. ' );
18701846 $ template
18711847 ->expects ($ this ->once ())
18721848 ->method ('addBodyButton ' )
0 commit comments