From 924a7046dd496ee5f8fb53cd7cbe7bab10b2ecd2 Mon Sep 17 00:00:00 2001
From: Andreas Fischer <bantu@owncloud.com>
Date: Thu, 5 Sep 2013 00:15:58 +0200
Subject: [PATCH] Try to make Oracle happy by also specifying seconds.

---
 tests/lib/share/share.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/lib/share/share.php b/tests/lib/share/share.php
index cf211817e3..cd108a24f4 100644
--- a/tests/lib/share/share.php
+++ b/tests/lib/share/share.php
@@ -270,7 +270,7 @@ class Test_Share extends PHPUnit_Framework_TestCase {
 
 		OC_User::setUserId($this->user1);
 		$this->assertTrue(
-			OCP\Share::setExpirationDate('test', 'test.txt', '2000-01-01 00:00'),
+			OCP\Share::setExpirationDate('test', 'test.txt', '2000-01-01 00:00:00'),
 			'Failed asserting that user 1 successfully set an expiration date for the test.txt share.'
 		);
 
@@ -287,7 +287,7 @@ class Test_Share extends PHPUnit_Framework_TestCase {
 
 		OC_User::setUserId($this->user1);
 		$this->assertTrue(
-			OCP\Share::setExpirationDate('test', 'test.txt', '2037-01-01 00:00'),
+			OCP\Share::setExpirationDate('test', 'test.txt', '2037-01-01 00:00:00'),
 			'Failed asserting that user 1 successfully set an expiration date for the test.txt share.'
 		);
 
-- 
GitLab