[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:
parent
073306eaa2
commit
c0b25a4375
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue