Project

General

Profile

Actions

Task #87398

closed

Epic #87395: Remove obsolete condition checks in unit tests

The check for MacOS in case posix_getegid() is used, is obsolete

Added by Stefanos Karasavvidis almost 6 years ago. Updated over 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

On tests that involve posix_getegid(), it is checked whether it returns -1, because on MacOS it is said to return always -1.
This is not the case (anymore?) on MacOS, and thus the check should be removed or the skip message changed.

typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php

Actions

Also available in: Atom PDF