Skip to content

Commit

Permalink
test(dav): imip service test expects integers for last occurence
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Larch <[email protected]>

[skip ci]
  • Loading branch information
miaulalala authored and backportbot[bot] committed Sep 15, 2024
1 parent 18614e0 commit 0fe4913
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]')
Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -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]')
Expand Down Expand Up @@ -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]')
Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -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]')
Expand Down Expand Up @@ -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]')
Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -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]')
Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -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]')
Expand Down

0 comments on commit 0fe4913

Please sign in to comment.