summaryrefslogtreecommitdiffstats
path: root/tests/lib/naturalsort.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/naturalsort.php')
-rw-r--r--tests/lib/naturalsort.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/naturalsort.php b/tests/lib/naturalsort.php
index 09a0e6a5f9d..e022a855309 100644
--- a/tests/lib/naturalsort.php
+++ b/tests/lib/naturalsort.php
@@ -6,9 +6,11 @@
* See the COPYING-README file.
*/
-class Test_NaturalSort extends PHPUnit_Framework_TestCase {
+class Test_NaturalSort extends \Test\TestCase {
public function setUp() {
+ parent::setUp();
+
if(!class_exists('Collator')) {
$this->markTestSkipped('The intl module is not available, natural sorting will not work as expected.');
return;