Merge pull request #26784 from nextcloud/Valdnet-patch-8

l10n: Change to a capital letter
This commit is contained in:
rakekniven 2021-04-28 10:11:32 +02:00 committed by GitHub
commit 48f05158e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -477,7 +477,7 @@ class ShareAPIController extends OCSController {
}
if ($permissions < 0 || $permissions > Constants::PERMISSION_ALL) {
throw new OCSNotFoundException($this->l->t('invalid permissions'));
throw new OCSNotFoundException($this->l->t('Invalid permissions'));
}
// Shares always require read permissions

View File

@ -1602,7 +1602,7 @@ class ShareAPIControllerTest extends TestCase {
public function testCreateShareInvalidPermissions() {
$this->expectException(\OCP\AppFramework\OCS\OCSNotFoundException::class);
$this->expectExceptionMessage('invalid permissions');
$this->expectExceptionMessage('Invalid permissions');
$share = $this->newShare();
$this->shareManager->method('newShare')->willReturn($share);