Actions
Bug #63948
closedRsaAuth-PhpBackendTest causes fatal error with broken openssl config
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-12-17
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If the openssl environment (on Windows) is not set up correctly (in Install Tool: "PHP OpenSSL extension not working") the unit test RsaAuth-PhpBackendTest fatals
Fatal error: Call to a member function isReady() on a non-object in D:\typo3\master\typo3\sysext\rsaauth\Tests\Unit\Backend\PhpBackendTest.php on line 39
This happens because $this->subject->createNewKeyPair() returns NULL if something goes wrong.
public function createNewKeyPairCreatesReadyKeyPair() { $this->assertTrue( $this->subject->createNewKeyPair()->isReady() ); }
Actions