From d639a8c13db35d9bb3277d752de8ae885ae6e783 Mon Sep 17 00:00:00 2001 From: Git'Fellow <12234510+solracsf@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:20:54 +0100 Subject: [PATCH] fix: tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> --- .../tests/ShareByMailProviderTest.php | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php index f7325fc248a2f..05435b835e095 100644 --- a/apps/sharebymail/tests/ShareByMailProviderTest.php +++ b/apps/sharebymail/tests/ShareByMailProviderTest.php @@ -1289,10 +1289,6 @@ public function testSendMailNotificationWithSameUserAndUserEmail(): void { ->expects($this->once()) ->method('addHeading') ->with('Mrs. Owner User shared file.txt with you'); - $template - ->expects($this->once()) - ->method('addBodyText') - ->with('Click the button below to open it.'); $template ->expects($this->once()) ->method('addBodyButton') @@ -1399,10 +1395,6 @@ public function testSendMailNotificationWithSameUserAndUserEmailAndNote(): void ->expects($this->once()) ->method('addHeading') ->with('Mrs. Owner User shared file.txt with you'); - $template - ->expects($this->once()) - ->method('addBodyText') - ->with('Click the button below to open it.'); $this->urlGenerator->expects($this->once())->method('imagePath') ->with('core', 'caldav/description.png') @@ -1525,10 +1517,6 @@ public function testSendMailNotificationWithSameUserAndUserEmailAndExpiration(): ->expects($this->once()) ->method('addHeading') ->with('Mrs. Owner User shared file.txt with you'); - $template - ->expects($this->once()) - ->method('addBodyText') - ->with('Click the button below to open it.'); $expiration = new DateTime('2001-01-01'); $this->l->expects($this->once()) @@ -1657,10 +1645,6 @@ public function testSendMailNotificationWithDifferentUserAndNoUserEmail(): void ->expects($this->once()) ->method('addHeading') ->with('Mr. Initiator User shared file.txt with you'); - $template - ->expects($this->once()) - ->method('addBodyText') - ->with('Click the button below to open it.'); $template ->expects($this->once()) ->method('addBodyButton') @@ -1758,10 +1742,6 @@ public function testSendMailNotificationWithSameUserAndUserEmailAndReplyToDesact ->expects($this->once()) ->method('addHeading') ->with('Mrs. Owner User shared file.txt with you'); - $template - ->expects($this->once()) - ->method('addBodyText') - ->with('Click the button below to open it.'); $template ->expects($this->once()) ->method('addBodyButton') @@ -1863,10 +1843,6 @@ public function testSendMailNotificationWithDifferentUserAndNoUserEmailAndReplyT ->expects($this->once()) ->method('addHeading') ->with('Mr. Initiator User shared file.txt with you'); - $template - ->expects($this->once()) - ->method('addBodyText') - ->with('Click the button below to open it.'); $template ->expects($this->once()) ->method('addBodyButton')