diff options
author | Andreas Fischer <bantu@owncloud.com> | 2013-09-05 00:15:58 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2013-09-12 23:43:20 +0200 |
commit | 924a7046dd496ee5f8fb53cd7cbe7bab10b2ecd2 (patch) | |
tree | ddee189943eeab3479a888a494a0d7c2c986ec24 /tests | |
parent | 1358b0078ab60efe341db0d7768ad9cdfe4e2bea (diff) | |
download | nextcloud-server-924a7046dd496ee5f8fb53cd7cbe7bab10b2ecd2.tar.gz nextcloud-server-924a7046dd496ee5f8fb53cd7cbe7bab10b2ecd2.zip |
Try to make Oracle happy by also specifying seconds.
Diffstat (limited to 'tests')
-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.' ); |