Skip to content

Commit 6e6a7b4

Browse files
committed
MAGETWO-34612: Unit tests coverage build failure
- static failure fixes
1 parent 57b89da commit 6e6a7b4

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

dev/tests/integration/framework/Magento/TestFramework/Entity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace Magento\TestFramework;
88

99
/**
10-
* Class that implements CRUD tests for \Magento\Core\Model\AbstractModel based objects
10+
* Class that implements CRUD tests for \Magento\Framework\Model\AbstractModel based objects
1111
*/
1212
class Entity
1313
{

dev/tests/integration/framework/Magento/TestFramework/ObjectManager/Configurator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public function getConfiguration()
1616
{
1717
return [
1818
'preferences' => [
19-
'Magento\Framework\Stdlib\Cookie' => 'Magento\TestFramework\Cookie',
2019
'Magento\Framework\Stdlib\CookieManagerInterface' => 'Magento\TestFramework\CookieManager',
2120
]
2221
];

dev/tests/integration/framework/Magento/TestFramework/ObjectManagerFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ protected function _loadPrimaryConfig(DirectoryList $directoryList, $driverPool,
8989
'Magento\Framework\Stdlib\CookieManagerInterface' => 'Magento\TestFramework\CookieManager',
9090
'Magento\Framework\ObjectManager\DynamicConfigInterface' =>
9191
'\Magento\TestFramework\ObjectManager\Configurator',
92-
'Magento\Framework\Stdlib\Cookie' => 'Magento\TestFramework\Cookie',
9392
'Magento\Framework\App\RequestInterface' => 'Magento\TestFramework\Request',
9493
'Magento\Framework\App\Request\Http' => 'Magento\TestFramework\Request',
9594
'Magento\Framework\App\ResponseInterface' => 'Magento\TestFramework\Response',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function ($file) {
2222
$classes = \Magento\Framework\Test\Utility\Classes::collectPhpCodeClasses(file_get_contents($file));
2323
$this->_assertNonFactoryName($classes, $file);
2424
},
25-
\Magento\Framework\Test\Utility\Files::init()->getPhpFiles()
25+
\Magento\Framework\Test\Utility\Files::init()->getPhpFiles(true, true, true, true, false)
2626
);
2727
}
2828

0 commit comments

Comments
 (0)