Skip to content

Commit 4c5983a

Browse files
committed
MAGETWO-58533: [Backport] - Loading of order page with a lot of items in admin. - for 2.1
1 parent 8411915 commit 4c5983a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
*/
1111
namespace Magento\Test\Legacy;
1212

13+
use Psr\Log\LoggerInterface;
14+
1315
class ModuleDBChangeTest extends \PHPUnit_Framework_TestCase
1416
{
1517
/**
@@ -67,6 +69,9 @@ public function testModuleXmlFiles()
6769
{
6870
if (!self::$actualBranch) {
6971
preg_match_all('|etc/module\.xml$|mi', self::$changedFileList, $matches);
72+
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
73+
$logger = $objectManager->get(LoggerInterface::class);
74+
$logger->debug('----->LOGGER:', $matches);
7075
$this->assertEmpty(
7176
reset($matches),
7277
'module.xml changes for patch releases in non-actual branches are not allowed:' . PHP_EOL .
@@ -82,6 +87,9 @@ public function testModuleSetupFiles()
8287
{
8388
if (!self::$actualBranch) {
8489
preg_match_all('|app/code/Magento/[^/]+/Setup/[^/]+$|mi', self::$changedFileList, $matches);
90+
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
91+
$logger = $objectManager->get(LoggerInterface::class);
92+
$logger->debug('----->LOGGER:', $matches);
8593
$this->assertEmpty(
8694
reset($matches),
8795
'Code with changes for DB schema or data in non-actual branches are not allowed:' . PHP_EOL .

0 commit comments

Comments
 (0)