Project

General

Profile

Actions

Bug #63948

closed

RsaAuth-PhpBackendTest causes fatal error with broken openssl config

Added by Stephan Großberndt almost 10 years ago. Updated about 6 years ago.

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 #1

Updated by Gerrit Code Review almost 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35531

Actions #2

Updated by Gerrit Code Review almost 10 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35531

Actions #3

Updated by Gerrit Code Review almost 10 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35531

Actions #4

Updated by Stephan Großberndt almost 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Gerrit Code Review almost 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35597

Actions #6

Updated by Stephan Großberndt almost 10 years ago

  • Status changed from Under Review to Resolved
Actions #7

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF