Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable29] fix(dav): imip service test expects integers for last occurence #48055

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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('frodo@hobb.it')
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('the-shire@hobb.it')
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('frodo@hobb.it')
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('frodo@hobb.it')
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('frodo@hobb.it')
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('frodo@hobb.it')
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('frodo@hobb.it')
Expand Down
Loading