diff options
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r-- | apps/files_sharing/tests/ApiTest.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/tests/Controller/ShareAPIControllerTest.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/tests/ApiTest.php b/apps/files_sharing/tests/ApiTest.php index 59837195605..523faec1615 100644 --- a/apps/files_sharing/tests/ApiTest.php +++ b/apps/files_sharing/tests/ApiTest.php @@ -1356,7 +1356,7 @@ class ApiTest extends TestCase { $this->fail(); } catch (OCSException $e) { $this->assertEquals(404, $e->getCode()); - $this->assertEquals('Can’t set expiration date more than 7 days in the future', $e->getMessage()); + $this->assertEquals('Cannot set expiration date more than 7 days in the future', $e->getMessage()); } $ocs->cleanup(); diff --git a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php index 009dfe86a48..11eefc18f64 100644 --- a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php +++ b/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('Can’t increase permissions of path/file', $e->getMessage()); + $this->assertEquals('Cannot increase permissions of path/file', $e->getMessage()); } } |