aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-09-15 18:43:45 +0200
committerBenjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>2024-10-02 09:22:30 +0200
commit0154c2b79205a663c381f6667a3e17869120ca85 (patch)
tree9f011e8ffe5e3f6f68ff2d2f38c87d50f1b9a11a
parentd18b9a53a5b36866c334baed752e0b6ab40e2cd7 (diff)
downloadnextcloud-server-backport/48043/stable29.tar.gz
nextcloud-server-backport/48043/stable29.zip
test(dav): imip service test expects integers for last occurencebackport/48043/stable29
Signed-off-by: Anna Larch <anna@nextcloud.com>
-rw-r--r--apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php b/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
index 0e459418ae0..3d240808d86 100644
--- a/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
+++ b/apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
@@ -193,7 +193,7 @@ class IMipPluginTest extends TestCase {
$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')
@@ -232,7 +232,7 @@ class IMipPluginTest extends TestCase {
->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 @@ class IMipPluginTest extends TestCase {
$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')
@@ -384,7 +384,7 @@ class IMipPluginTest extends TestCase {
$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')
@@ -424,7 +424,7 @@ class IMipPluginTest extends TestCase {
->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 @@ class IMipPluginTest extends TestCase {
$this->service->expects(self::once())
->method('getLastOccurrence')
- ->willReturn('1496912700');
+ ->willReturn(1496912700);
$this->mailer->expects(self::once())
->method('validateMailAddress')
->with('frodo@hobb.it')
@@ -509,7 +509,7 @@ class IMipPluginTest extends TestCase {
$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')
@@ -548,7 +548,7 @@ class IMipPluginTest extends TestCase {
->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 @@ class IMipPluginTest extends TestCase {
}
$this->service->expects(self::once())
->method('getLastOccurrence')
- ->willReturn('1496912700');
+ ->willReturn(1496912700);
$this->mailer->expects(self::once())
->method('validateMailAddress')
->with('frodo@hobb.it')
@@ -637,7 +637,7 @@ class IMipPluginTest extends TestCase {
->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 @@ class IMipPluginTest extends TestCase {
}
$this->service->expects(self::once())
->method('getLastOccurrence')
- ->willReturn('1496912700');
+ ->willReturn(1496912700);
$this->mailer->expects(self::once())
->method('validateMailAddress')
->with('frodo@hobb.it')