summaryrefslogtreecommitdiffstats
path: root/tests/lib/files/filesystem.php
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-24 20:37:11 +0200
committerFlorin Peter <github@florin-peter.de>2013-05-24 20:37:11 +0200
commit5076c0d392f6eb17e368a9382cf5b0abe7408889 (patch)
tree9f550fd3ea8f185105fd46784a46226e8e74e863 /tests/lib/files/filesystem.php
parent736f10039dd1b494966f1214916dc62119478176 (diff)
downloadnextcloud-server-5076c0d392f6eb17e368a9382cf5b0abe7408889.tar.gz
nextcloud-server-5076c0d392f6eb17e368a9382cf5b0abe7408889.zip
changed tests for using new normalizer
Diffstat (limited to 'tests/lib/files/filesystem.php')
-rw-r--r--tests/lib/files/filesystem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/filesystem.php b/tests/lib/files/filesystem.php
index 6ce45e6178a..bef70cc725b 100644
--- a/tests/lib/files/filesystem.php
+++ b/tests/lib/files/filesystem.php
@@ -72,7 +72,7 @@ class Filesystem extends \PHPUnit_Framework_TestCase {
$this->assertEquals('/path', \OC\Files\Filesystem::normalizePath('\path'));
$this->assertEquals('/foo/bar', \OC\Files\Filesystem::normalizePath('/foo//bar/'));
$this->assertEquals('/foo/bar', \OC\Files\Filesystem::normalizePath('/foo////bar'));
- if (class_exists('Normalizer')) {
+ if (class_exists('Patchwork\PHP\Shim\Normalizer')) {
$this->assertEquals("/foo/bar\xC3\xBC", \OC\Files\Filesystem::normalizePath("/foo/baru\xCC\x88"));
}
}