Try to make Oracle happy by also specifying seconds.
This commit is contained in:
parent
1358b0078a
commit
924a7046dd
1 changed files with 2 additions and 2 deletions
|
@ -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.'
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue