Skip to content
Snippets Groups Projects
Commit c0b25a43 authored by Thomas Müller's avatar Thomas Müller
Browse files

[Fixing Updater Unit Tests on Windows]

using $internalPath within call to self::correctFolder() because $path inside of it is not processed properly due to directory separator on Windows.
parent 073306ea
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ class Updater {
$cache = $storage->getCache($internalPath);
$cache->remove($internalPath);
$cache->correctFolderSize($internalPath);
self::correctFolder($path, time());
self::correctFolder($internalPath, time());
}
}
......@@ -85,8 +85,8 @@ class Updater {
$cache->move($internalFrom, $internalTo);
$cache->correctFolderSize($internalFrom);
$cache->correctFolderSize($internalTo);
self::correctFolder($from, time());
self::correctFolder($to, time());
self::correctFolder($internalFrom, time());
self::correctFolder($internalTo, time());
} else {
self::deleteUpdate($from);
self::writeUpdate($to);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment