Project

General

Profile

Actions

Bug #70883

closed

Fix FloatValidatorTest of EXT:form on windows

Added by Stephan Großberndt over 8 years ago. Updated over 6 years ago.

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

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

The FloatValidatorTest of EXT:form uses only one locale 'en_US' when trying to set the locale. This fails on windows.

 '12.1 for en_US locale' => array(array('12.1', 'en_US')),

Allowed locales for windows: https://msdn.microsoft.com/en-us/library/39cwe7zf%28v=vs.90%29.aspx

Instead an array can be passed making the test work on windows too.

 '12.1 for en_US locale' => array(array('12.1', ['en_US', 'english'])),
Actions

Also available in: Atom PDF