Project

General

Profile

Actions

Task #78387

closed

use setLocale functionality from phpunit instead the native language command

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

Status:
Closed
Priority:
Should have
Category:
Tests
Target version:
-
Start date:
2016-10-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:
On Location Sprint

Description

phpunit comes with a backup functionality for locales. In core unit tests we use the native PHP command to fiddle with locales and take care of restoring the original state manually in tearDown.
It might be a good idea to rely on the testing framework for this functionality instead using manual solutions.

Actions

Also available in: Atom PDF