diff options
author | Andreas Fischer <bantu@owncloud.com> | 2013-09-05 00:15:58 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2013-09-23 23:59:06 +0200 |
commit | e8ac55a88470ac5e69a284302b5153bbeb8446f0 (patch) | |
tree | d9d54e321ea1c6c9367b2b19734f9e9116d9434b | |
parent | d3498153c3f5b14442fbdd17205c0afd5b6abfa4 (diff) | |
download | nextcloud-server-e8ac55a88470ac5e69a284302b5153bbeb8446f0.tar.gz nextcloud-server-e8ac55a88470ac5e69a284302b5153bbeb8446f0.zip |
Try to make Oracle happy by also specifying seconds.
-rw-r--r-- | tests/lib/share/share.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/share/share.php b/tests/lib/share/share.php index cf211817e3c..cd108a24f40 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.' ); |