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

github.com/nextcloud/files_antivirus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2016-11-11 19:10:42 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2016-11-11 19:10:42 +0300
commit7dff3342798b21ce9ac27ee7b04f148b1d0088bd (patch)
treea56a394a07295dbdd02ef8227d9f5e604a88618d /tests
parent106c285c4c82d86f04d111f81b210ec6240f3643 (diff)
Remove chunkSize from UI. Put shutdownScanner back
Diffstat (limited to 'tests')
-rw-r--r--tests/ItemTest.php6
-rw-r--r--tests/TestBase.php2
2 files changed, 0 insertions, 8 deletions
diff --git a/tests/ItemTest.php b/tests/ItemTest.php
index 8c472ed..fd704fe 100644
--- a/tests/ItemTest.php
+++ b/tests/ItemTest.php
@@ -41,12 +41,6 @@ class ItemTest extends TestBase {
\OC\Files\Filesystem::init('test', '');
$view = new \OC\Files\View('/test/files');
$view->file_put_contents('file1', self::CONTENT);
- $this->config->method('__call')
- ->with(
- $this->equalTo('getAvChunkSize')
- )
- ->willReturn('1024')
- ;
}
public function testRead() {
diff --git a/tests/TestBase.php b/tests/TestBase.php
index ee80e5f..15637b5 100644
--- a/tests/TestBase.php
+++ b/tests/TestBase.php
@@ -47,8 +47,6 @@ abstract class TestBase extends \PHPUnit_Framework_TestCase {
switch ($methodName){
case 'getAvPath':
return __DIR__ . '/avir.sh';
- case 'getAvChunkSize':
- return 1024;
case 'getAvMode':
return 'executable';
}