Browse Source

Merge pull request #3480 from Schlaefer/fix-testDecimalLocaleSet-OSX

fixes failing test case ValidationTest::testDecimalLocaleSet() on OS X
Mark Story 12 years ago
parent
commit
590e552d31
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Test/Case/Utility/ValidationTest.php

+ 1 - 1
lib/Cake/Test/Case/Utility/ValidationTest.php

@@ -1662,7 +1662,7 @@ class ValidationTest extends CakeTestCase {
 	public function testDecimalLocaleSet() {
 		$this->skipIf(DS === '\\', 'The locale is not supported in Windows and affects other tests.');
 		$restore = setlocale(LC_NUMERIC, 0);
-		$this->skipIf(setlocale(LC_NUMERIC, 'de_DE') === false, "The German locale isn't available.");
+		$this->skipIf(setlocale(LC_NUMERIC, 'da_DK') === false, "The Danish locale isn't available.");
 
 		$this->assertTrue(Validation::decimal(1.54), '1.54 should be considered a valid float');
 		$this->assertTrue(Validation::decimal('1.54'), '"1.54" should be considered a valid float');