Fix translation phpunit test

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2021-06-02 18:00:34 +02:00
parent c1d359b7a2
commit b228e8a361
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 3 additions and 3 deletions

View File

@ -677,7 +677,7 @@ class CheckSetupControllerTest extends TestCase {
->expects($this->once()) ->expects($this->once())
->method('getCurlVersion') ->method('getCurlVersion')
->willReturn(['ssl_version' => 'OpenSSL/1.0.1c']); ->willReturn(['ssl_version' => 'OpenSSL/1.0.1c']);
$this->assertSame('cURL is using an outdated OpenSSL version (OpenSSL/1.0.1c). Please update your operating system or features such as installing and updating apps via the app store or Federated Cloud Sharing will not work reliably.', $this->invokePrivate($this->checkSetupController, 'isUsedTlsLibOutdated')); $this->assertSame('cURL is using an outdated OpenSSL version (OpenSSL/1.0.1c). Please update your operating system or features such as installing and updating apps via the App Store or Federated Cloud Sharing will not work reliably.', $this->invokePrivate($this->checkSetupController, 'isUsedTlsLibOutdated'));
} }
public function testIsUsedTlsLibOutdatedWithOlderOpenSslAndWithoutAppstore() { public function testIsUsedTlsLibOutdatedWithOlderOpenSslAndWithoutAppstore() {
@ -701,7 +701,7 @@ class CheckSetupControllerTest extends TestCase {
->expects($this->once()) ->expects($this->once())
->method('getCurlVersion') ->method('getCurlVersion')
->willReturn(['ssl_version' => 'OpenSSL/1.0.2a']); ->willReturn(['ssl_version' => 'OpenSSL/1.0.2a']);
$this->assertSame('cURL is using an outdated OpenSSL version (OpenSSL/1.0.2a). Please update your operating system or features such as installing and updating apps via the app store or Federated Cloud Sharing will not work reliably.', $this->invokePrivate($this->checkSetupController, 'isUsedTlsLibOutdated')); $this->assertSame('cURL is using an outdated OpenSSL version (OpenSSL/1.0.2a). Please update your operating system or features such as installing and updating apps via the App Store or Federated Cloud Sharing will not work reliably.', $this->invokePrivate($this->checkSetupController, 'isUsedTlsLibOutdated'));
} }
public function testIsUsedTlsLibOutdatedWithMatchingOpenSslVersion() { public function testIsUsedTlsLibOutdatedWithMatchingOpenSslVersion() {
@ -806,7 +806,7 @@ class CheckSetupControllerTest extends TestCase {
->method('newClient') ->method('newClient')
->willReturn($client); ->willReturn($client);
$this->assertSame('cURL is using an outdated NSS version (NSS/1.0.2b). Please update your operating system or features such as installing and updating apps via the app store or Federated Cloud Sharing will not work reliably.', $this->invokePrivate($this->checkSetupController, 'isUsedTlsLibOutdated')); $this->assertSame('cURL is using an outdated NSS version (NSS/1.0.2b). Please update your operating system or features such as installing and updating apps via the App Store or Federated Cloud Sharing will not work reliably.', $this->invokePrivate($this->checkSetupController, 'isUsedTlsLibOutdated'));
} }