l10n: Unify spelling in test

This commit is contained in:
Valdnet 2021-04-15 16:17:15 +02:00 committed by Morris Jobke
parent 1627eb45bb
commit 0e39cef0d9
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 2 additions and 2 deletions

View File

@ -3475,13 +3475,13 @@ class ShareAPIControllerTest extends TestCase {
$this->shareManager->expects($this->once())
->method('updateShare')
->with($share)
->willThrowException(new GenericShareException('Cant increase permissions of path/file', 'Cant increase permissions of path/file', 404));
->willThrowException(new GenericShareException('Cannot increase permissions of path/file', 'Cannot increase permissions of path/file', 404));
try {
$ocs->updateShare(42, 31);
$this->fail();
} catch (OCSException $e) {
$this->assertEquals('Cant increase permissions of path/file', $e->getMessage());
$this->assertEquals('Cannot increase permissions of path/file', $e->getMessage());
}
}