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

@ -1368,9 +1368,9 @@ class HashTest extends CakeTestCase {
public function testSortLocale() {
// 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')),