diff --git a/dev/tests/static/testsuite/Magento/Test/Php/LiveCodeTest.php b/dev/tests/static/testsuite/Magento/Test/Php/LiveCodeTest.php index dd564c8fc6f9dd197646f78ee7b4a1ce894a6486..03153c58c0ff3900c187d3dc55d3e8b5989a13df 100644 --- a/dev/tests/static/testsuite/Magento/Test/Php/LiveCodeTest.php +++ b/dev/tests/static/testsuite/Magento/Test/Php/LiveCodeTest.php @@ -204,7 +204,7 @@ class LiveCodeTest extends PHPUnit_Framework_TestCase $copyPasteDetector->setBlackList($blackList); $this->assertTrue( - $copyPasteDetector->run(self::getWhitelist(['php'])), + $copyPasteDetector->run([BP]), "PHP Copy/Paste Detector has found error(s): See detailed report in {$reportFile}" ); } diff --git a/dev/tests/static/testsuite/Magento/Test/Php/_files/phpcpd/blacklist/common.txt b/dev/tests/static/testsuite/Magento/Test/Php/_files/phpcpd/blacklist/common.txt index cdb7b5313e3b6f4290bf2f99753d52018816724d..b85b6a5737da9fc8acca9aaf00edb545c36e515b 100644 --- a/dev/tests/static/testsuite/Magento/Test/Php/_files/phpcpd/blacklist/common.txt +++ b/dev/tests/static/testsuite/Magento/Test/Php/_files/phpcpd/blacklist/common.txt @@ -1,3 +1,5 @@ +app/code/Magento +lib/internal/Magento Magento/Adminhtml Magento/Authorizenet/Model Magento/Backend