aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Share20/ShareByMailProviderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Share20/ShareByMailProviderTest.php')
-rw-r--r--tests/lib/Share20/ShareByMailProviderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Share20/ShareByMailProviderTest.php b/tests/lib/Share20/ShareByMailProviderTest.php
index 01029e421e0..bc8e9e53df0 100644
--- a/tests/lib/Share20/ShareByMailProviderTest.php
+++ b/tests/lib/Share20/ShareByMailProviderTest.php
@@ -179,7 +179,7 @@ class ShareByMailProviderTest extends TestCase {
$qb->setValue('token', $qb->expr()->literal($token));
}
if ($expiration) {
- $qb->setValue('expiration', $qb->createNamedParameter($expiration, IQueryBuilder::PARAM_DATE));
+ $qb->setValue('expiration', $qb->createNamedParameter($expiration, IQueryBuilder::PARAM_DATETIME_MUTABLE));
}
if ($parent) {
$qb->setValue('parent', $qb->expr()->literal($parent));