]> source.dussan.org Git - nextcloud-server.git/commitdiff
Try to make Oracle happy by also specifying seconds.
authorAndreas Fischer <bantu@owncloud.com>
Wed, 4 Sep 2013 22:15:58 +0000 (00:15 +0200)
committerAndreas Fischer <bantu@owncloud.com>
Thu, 12 Sep 2013 21:43:20 +0000 (23:43 +0200)
tests/lib/share/share.php

index cf211817e3c6006527f8a1deedc30192ec3f6fda..cd108a24f4010de72a18c6afc79f28cc93631ae9 100644 (file)
@@ -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.'
                );