[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.
This commit is contained in:
Thomas Mueller 2013-06-10 18:47:36 +02:00
parent 073306eaa2
commit c0b25a4375
1 changed files with 3 additions and 3 deletions

View File

@ -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);