l10n: Unify spelling in test

pull/26511/head
Valdnet 5 years ago committed by Morris Jobke
parent 1627eb45bb
commit 0e39cef0d9
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
  1. 4
      apps/files_sharing/tests/Controller/ShareAPIControllerTest.php

@ -3475,13 +3475,13 @@ class ShareAPIControllerTest extends TestCase {
$this->shareManager->expects($this->once())
->method('updateShare')
->with($share)
->willThrowException(new GenericShareException('Can’t increase permissions of path/file', 'Can’t 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());
}
}

Loading…
Cancel
Save