|
@@ 1976-1981 (lines=6) @@
|
| 1973 |
|
$storage->expects($this->once()) |
| 1974 |
|
->method($operation) |
| 1975 |
|
->will($this->returnCallback( |
| 1976 |
|
function() use ($view, $sourcePath, $targetPath, &$lockTypeSourceDuring, &$lockTypeTargetDuring){ |
| 1977 |
|
$lockTypeSourceDuring = $this->getFileLockType($view, $sourcePath); |
| 1978 |
|
$lockTypeTargetDuring = $this->getFileLockType($view, $targetPath); |
| 1979 |
|
|
| 1980 |
|
return true; |
| 1981 |
|
} |
| 1982 |
|
)); |
| 1983 |
|
|
| 1984 |
|
$this->connectMockHooks($operation, $view, $sourcePath, $lockTypeSourcePre, $lockTypeSourcePost); |
|
@@ 2120-2125 (lines=6) @@
|
| 2117 |
|
$storage2->expects($this->once()) |
| 2118 |
|
->method($storageOperation) |
| 2119 |
|
->will($this->returnCallback( |
| 2120 |
|
function() use ($view, $sourcePath, $targetPath, &$lockTypeSourceDuring, &$lockTypeTargetDuring){ |
| 2121 |
|
$lockTypeSourceDuring = $this->getFileLockType($view, $sourcePath); |
| 2122 |
|
$lockTypeTargetDuring = $this->getFileLockType($view, $targetPath); |
| 2123 |
|
|
| 2124 |
|
return true; |
| 2125 |
|
} |
| 2126 |
|
)); |
| 2127 |
|
|
| 2128 |
|
$this->connectMockHooks($viewOperation, $view, $sourcePath, $lockTypeSourcePre, $lockTypeSourcePost); |