summaryrefslogtreecommitdiffstats
path: root/tests/lib/App/CodeChecker/NodeVisitorTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/App/CodeChecker/NodeVisitorTest.php')
-rw-r--r--tests/lib/App/CodeChecker/NodeVisitorTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/App/CodeChecker/NodeVisitorTest.php b/tests/lib/App/CodeChecker/NodeVisitorTest.php
index ca0b6e9ccc1..d1b1f643677 100644
--- a/tests/lib/App/CodeChecker/NodeVisitorTest.php
+++ b/tests/lib/App/CodeChecker/NodeVisitorTest.php
@@ -59,7 +59,8 @@ class NodeVisitorTest extends TestCase {
*/
public function testMethodsToCheck($expectedErrors, $fileToVerify) {
$checker = new CodeChecker(
- new TestList(new EmptyCheck())
+ new TestList(new EmptyCheck()),
+ false
);
$errors = $checker->analyseFile(\OC::$SERVERROOT . "/tests/data/app/code-checker/$fileToVerify");