diff options
Diffstat (limited to 'tests/lib/App/CodeChecker/StrongComparisonCheckTest.php')
-rw-r--r-- | tests/lib/App/CodeChecker/StrongComparisonCheckTest.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib/App/CodeChecker/StrongComparisonCheckTest.php b/tests/lib/App/CodeChecker/StrongComparisonCheckTest.php index c73eae286ab..6d3d2f50efd 100644 --- a/tests/lib/App/CodeChecker/StrongComparisonCheckTest.php +++ b/tests/lib/App/CodeChecker/StrongComparisonCheckTest.php @@ -23,7 +23,8 @@ class StrongComparisonCheckTest extends TestCase { */ public function testFindInvalidUsage($expectedErrorToken, $expectedErrorCode, $fileToVerify) { $checker = new CodeChecker( - new StrongComparisonCheck(new EmptyCheck()) + new StrongComparisonCheck(new EmptyCheck()), + false ); $errors = $checker->analyseFile(\OC::$SERVERROOT . "/tests/data/app/code-checker/$fileToVerify"); @@ -45,7 +46,8 @@ class StrongComparisonCheckTest extends TestCase { */ public function testPassValidUsage($fileToVerify) { $checker = new CodeChecker( - new StrongComparisonCheck(new EmptyCheck()) + new StrongComparisonCheck(new EmptyCheck()), + false ); $errors = $checker->analyseFile(\OC::$SERVERROOT . "/tests/data/app/code-checker/$fileToVerify"); |