Project

General

Profile

Actions

Task #87396

closed

Epic #87395: Remove obsolete condition checks in unit tests

Checks for CRYPT_MD5 and CRYPT_BLOWFISH availability are obsolete

Added by Stefanos Karasavvidis over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Target version:
-
Start date:
2019-01-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

According to crypt() documentation "As of PHP 5.3.0, PHP contains its own implementation and will use that if the system lacks of support for one or more of the algorithms."

So in unit tests, the check for the availability of those 2 are not necessary in files

typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Md5PasswordHashTest.php
typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/BlowfishPasswordHashTest.php

Actions

Also available in: Atom PDF