Backport skip

This commit is contained in:
Mark Sch 2016-08-26 16:15:39 +02:00 committed by GitHub
parent 03df288e78
commit ee319baec1

View file

@ -1369,8 +1369,8 @@ class HashTest extends CakeTestCase {
// get the current locale
$oldLocale = setlocale(LC_COLLATE, '0');
// the de_DE.utf8 locale must be installed on the system where the test is performed
setlocale(LC_COLLATE, 'de_DE.utf8');
$updated = setlocale(LC_COLLATE, 'de_DE.utf8');
$this->skipIf($updated === false, 'Could not set locale to de_DE.utf8, skipping test.');
$items = array(
array('Item' => array('entry' => 'Übergabe')),