Remove extra spaces
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
76bbbca220
commit
d6ba3b2f7c
|
@ -769,7 +769,6 @@ class ManagerTest extends \Test\TestCase {
|
|||
$this->expectException(\OCP\Share\Exceptions\GenericShareException::class);
|
||||
$this->expectExceptionMessage('Expiration date is in the past');
|
||||
|
||||
|
||||
// Expire date in the past
|
||||
$past = new \DateTime();
|
||||
$past->sub(new \DateInterval('P1D'));
|
||||
|
@ -780,7 +779,6 @@ class ManagerTest extends \Test\TestCase {
|
|||
self::invokePrivate($this->manager, 'validateExpirationDate', [$share]);
|
||||
}
|
||||
|
||||
|
||||
public function testValidateExpirationDateEnforceButNotSet() {
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
$this->expectExceptionMessage('Expiration date is enforced');
|
||||
|
@ -970,7 +968,6 @@ class ManagerTest extends \Test\TestCase {
|
|||
$this->assertEquals($save, $share->getExpirationDate());
|
||||
}
|
||||
|
||||
|
||||
public function testValidateExpirationDateHookException() {
|
||||
$this->expectException(\Exception::class);
|
||||
$this->expectExceptionMessage('Invalid date!');
|
||||
|
@ -1008,7 +1005,6 @@ class ManagerTest extends \Test\TestCase {
|
|||
$this->assertEquals(null, $share->getExpirationDate());
|
||||
}
|
||||
|
||||
|
||||
public function testUserCreateChecksShareWithGroupMembersOnlyDifferentGroups() {
|
||||
$this->expectException(\Exception::class);
|
||||
$this->expectExceptionMessage('Sharing is only allowed with group members');
|
||||
|
|
Loading…
Reference in New Issue