Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Controller/ScanController.php3
-rw-r--r--tests/Unit/Controller/ScanControllerTest.php2
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/Controller/ScanController.php b/lib/Controller/ScanController.php
index 3acb05b..10dc6b2 100644
--- a/lib/Controller/ScanController.php
+++ b/lib/Controller/ScanController.php
@@ -137,8 +137,11 @@ class ScanController extends OCSController
*
* @NoAdminRequired
*
+ * @param integer $id
+ * @param integer $sequence
* @param integer $command
* @param string $path
+ * @param string $name
* @param integer $timestamp
*
* @return JSONResponse
diff --git a/tests/Unit/Controller/ScanControllerTest.php b/tests/Unit/Controller/ScanControllerTest.php
index 85fa9ce..30a6e62 100644
--- a/tests/Unit/Controller/ScanControllerTest.php
+++ b/tests/Unit/Controller/ScanControllerTest.php
@@ -185,7 +185,7 @@ class ScanControllerTest extends TestCase
->method('restoreFromTrashbin')
->willReturn($restored);
- $result = $controller->recover($id, $sequence, $command, $path ,$timestamp);
+ $result = $controller->recover($id, $sequence, $command, $path, $name, $timestamp);
$this->assertTrue($result instanceof JSONResponse);
$this->assertEquals($result->getStatus(), $response);
}