Project

General

Profile

Actions

Bug #88484

closed

FE/SiteResolverTest has side effects

Added by Anja Leichsenring over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Tests
Target version:
-
Start date:
2019-06-03
Due date:
% Done:

100%

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

Description

the random unit test suite revealed a test that changes the state of the test environment.

typo3/sysext/frontend/Tests/Unit/Middleware/SiteResolverTest.php

it sets the locale (LC_COLLATE) to en-US without resetting it to the original state. This causes following tests to fail, if they rely on anything else.

Actions

Also available in: Atom PDF