Skip to content

Commit 4d0aa04

Browse files
author
Dale Sikkema
committed
Merge branch 'MAGETWO-28383-merge' of https://github.corp.ebay.com/magento-extensibility/magento2ce into MAGETWO-28383-merge
2 parents 1c1e807 + 9e4ab18 commit 4d0aa04

File tree

8 files changed

+2
-20
lines changed

8 files changed

+2
-20
lines changed

dev/tests/static/testsuite/Magento/Test/Integrity/ClassesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,6 @@ protected function removeSpecialCases($badClasses, $file, $contents, $namespaceP
479479
'/dev/tests/performance/framework/',
480480
'/dev/tests/static/framework/',
481481
'/dev/tests/static/testsuite/',
482-
'/dev/tests/unit/framework/',
483482
'/setup/src/',
484483
];
485484
// Full list of directories where there may be namespace classes
@@ -536,6 +535,7 @@ public function testCoversAnnotation()
536535
BP . '/dev/tests/integration',
537536
BP . '/app/code/*/*/Test/Unit',
538537
BP . '/lib/internal/*/*/*/Test/Unit',
538+
BP . '/lib/internal/Magento/Framework/Test/Unit',
539539
BP . '/dev/tools/Magento/Tools/*/Test/Unit',
540540
BP . '/setup/src/Magento/Setup/Test/Unit',
541541
],

dev/tests/static/testsuite/Magento/Test/Php/_files/whitelist/common.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ dev/tests/functional
33
dev/tests/integration
44
dev/tests/performance
55
dev/tests/static
6-
dev/tests/unit

dev/tests/unit/framework/autoload.php

Lines changed: 0 additions & 13 deletions
This file was deleted.

dev/tests/unit/framework/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
require_once __DIR__ . '/autoload.php';
7+
require_once __DIR__ . '/../../../../app/autoload.php';
88

99
if (!defined('TESTS_TEMP_DIR')) {
1010
define('TESTS_TEMP_DIR', dirname(__DIR__) . '/tmp');

dev/tools/Magento/Tools/I18n/Test/Unit/FilesCollectorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ class FilesCollectorTest extends \PHPUnit_Framework_TestCase
1919

2020
protected function setUp()
2121
{
22-
// dev/tests/unit/testsuite/tools/I18n/_files/files_collector
2322
$this->_testDir = str_replace('\\', '/', realpath(dirname(__FILE__))) . '/_files/files_collector/';
2423

2524
$objectManagerHelper = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this);

dev/tools/Magento/Tools/I18n/Test/Unit/Parser/Adapter/JsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class JsTest extends \PHPUnit_Framework_TestCase
2727

2828
protected function setUp()
2929
{
30-
// dev/tests/unit/testsuite/tools/I18n/Parser/Adapter/_files/file.js
3130
$this->_testFile = str_replace('\\', '/', realpath(dirname(__FILE__))) . '/_files/file.js';
3231
$this->_stringsCount = count(file($this->_testFile));
3332

dev/tools/Magento/Tools/I18n/Test/Unit/Parser/Adapter/XmlTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ class XmlTest extends \PHPUnit_Framework_TestCase
1919

2020
protected function setUp()
2121
{
22-
// dev/tests/unit/testsuite/tools/I18n/Parser/Adapter/_files/layout.xml
2322
$this->_testFile = str_replace('\\', '/', realpath(dirname(__FILE__))) . '/_files/default.xml';
2423

2524
$objectManagerHelper = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this);

lib/internal/Magento/Framework/App/Utility/Files.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,6 @@ public function classFileExists($class, &$path = '')
949949
'/dev/tests/static/framework/',
950950
'/dev/tests/static/testsuite/',
951951
'/dev/tests/functional/tests/app/',
952-
'/dev/tests/unit/framework/',
953952
'/setup/src/'
954953
];
955954

0 commit comments

Comments
 (0)