-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(dav): imip service test expects integers for last occurence
Signed-off-by: Anna Larch <[email protected]> [skip ci]
- Loading branch information
1 parent
18614e0
commit 0fe4913
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -193,7 +193,7 @@ public function testParsingSingle(): void { | |
$this->plugin->setVCalendar($oldVCalendar); | ||
$this->service->expects(self::once()) | ||
->method('getLastOccurrence') | ||
->willReturn('1496912700'); | ||
->willReturn(1496912700); | ||
$this->mailer->expects(self::once()) | ||
->method('validateMailAddress') | ||
->with('[email protected]') | ||
|
@@ -232,7 +232,7 @@ public function testParsingSingle(): void { | |
->willReturn('yes'); | ||
$this->service->expects(self::once()) | ||
->method('createInvitationToken') | ||
->with($message, $newVevent, '1496912700') | ||
->with($message, $newVevent, 1496912700) | ||
->willReturn('token'); | ||
$this->service->expects(self::once()) | ||
->method('addResponseButtons') | ||
|
@@ -289,7 +289,7 @@ public function testAttendeeIsResource(): void { | |
$this->plugin->setVCalendar($oldVCalendar); | ||
$this->service->expects(self::once()) | ||
->method('getLastOccurrence') | ||
->willReturn('1496912700'); | ||
->willReturn(1496912700); | ||
$this->mailer->expects(self::once()) | ||
->method('validateMailAddress') | ||
->with('[email protected]') | ||
|
@@ -384,7 +384,7 @@ public function testParsingRecurrence(): void { | |
$this->plugin->setVCalendar($oldVCalendar); | ||
$this->service->expects(self::once()) | ||
->method('getLastOccurrence') | ||
->willReturn('1496912700'); | ||
->willReturn(1496912700); | ||
$this->mailer->expects(self::once()) | ||
->method('validateMailAddress') | ||
->with('[email protected]') | ||
|
@@ -424,7 +424,7 @@ public function testParsingRecurrence(): void { | |
->willReturn('yes'); | ||
$this->service->expects(self::once()) | ||
->method('createInvitationToken') | ||
->with($message, $newVevent, '1496912700') | ||
->with($message, $newVevent, 1496912700) | ||
->willReturn('token'); | ||
$this->service->expects(self::once()) | ||
->method('addResponseButtons') | ||
|
@@ -457,7 +457,7 @@ public function testEmailValidationFailed() { | |
|
||
$this->service->expects(self::once()) | ||
->method('getLastOccurrence') | ||
->willReturn('1496912700'); | ||
->willReturn(1496912700); | ||
$this->mailer->expects(self::once()) | ||
->method('validateMailAddress') | ||
->with('[email protected]') | ||
|
@@ -509,7 +509,7 @@ public function testFailedDelivery(): void { | |
$this->plugin->setVCalendar($oldVcalendar); | ||
$this->service->expects(self::once()) | ||
->method('getLastOccurrence') | ||
->willReturn('1496912700'); | ||
->willReturn(1496912700); | ||
$this->mailer->expects(self::once()) | ||
->method('validateMailAddress') | ||
->with('[email protected]') | ||
|
@@ -548,7 +548,7 @@ public function testFailedDelivery(): void { | |
->willReturn('yes'); | ||
$this->service->expects(self::once()) | ||
->method('createInvitationToken') | ||
->with($message, $newVevent, '1496912700') | ||
->with($message, $newVevent, 1496912700) | ||
->willReturn('token'); | ||
$this->service->expects(self::once()) | ||
->method('addResponseButtons') | ||
|
@@ -597,7 +597,7 @@ public function testNoOldEvent(): void { | |
} | ||
$this->service->expects(self::once()) | ||
->method('getLastOccurrence') | ||
->willReturn('1496912700'); | ||
->willReturn(1496912700); | ||
$this->mailer->expects(self::once()) | ||
->method('validateMailAddress') | ||
->with('[email protected]') | ||
|
@@ -637,7 +637,7 @@ public function testNoOldEvent(): void { | |
->willReturn('yes'); | ||
$this->service->expects(self::once()) | ||
->method('createInvitationToken') | ||
->with($message, $newVevent, '1496912700') | ||
->with($message, $newVevent, 1496912700) | ||
->willReturn('token'); | ||
$this->service->expects(self::once()) | ||
->method('addResponseButtons') | ||
|
@@ -683,7 +683,7 @@ public function testNoButtons(): void { | |
} | ||
$this->service->expects(self::once()) | ||
->method('getLastOccurrence') | ||
->willReturn('1496912700'); | ||
->willReturn(1496912700); | ||
$this->mailer->expects(self::once()) | ||
->method('validateMailAddress') | ||
->with('[email protected]') | ||
|