l10n: Unify spelling in test
This commit is contained in:
parent
1627eb45bb
commit
0e39cef0d9
|
@ -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('Can’t increase permissions of path/file', $e->getMessage());
|
||||
$this->assertEquals('Cannot increase permissions of path/file', $e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue