Skip to content

Commit

Permalink
Add comment describing change to unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronschmitz committed Aug 21, 2012
1 parent d86d6f1 commit 01364e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/suites/unit/joomla/string/JStringTest.php
Expand Up @@ -403,6 +403,7 @@ public function testStrcmp($string1, $string2, $locale, $expect)
}
elseif ($locale != false && !setlocale(LC_COLLATE, $locale))
{
// If the locale is not available, we can't have to transcode the string and can't reliably compare it.
$this->markTestSkipped("Locale {$locale} is not available.");
}
else
Expand Down
1 change: 1 addition & 0 deletions tests/suites/unit/joomla/utilities/JArrayHelperTest.php
Expand Up @@ -1488,6 +1488,7 @@ public function testSortObjects($input, $key, $direction, $casesensitive, $local
}
elseif ($locale != false && !setlocale(LC_COLLATE, $locale))
{
// If the locale is not available, we can't have to transcode the string and can't reliably compare it.
$this->markTestSkipped("Locale {$locale} is not available.");
return;
}
Expand Down

0 comments on commit 01364e6

Please sign in to comment.