Skip to content

Commit 76b11c8

Browse files
committed
fixed static test
1 parent 27dfdff commit 76b11c8

File tree

2 files changed

+3
-2
lines changed
  • app/code/Magento/Backend/Model/Search/Config/Result
  • dev/tests/integration/testsuite/Magento/Backend/Model/Search

2 files changed

+3
-2
lines changed

app/code/Magento/Backend/Model/Search/Config/Result/Builder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
/**
1313
* Config SearchResult Builder
14+
* @SuppressWarnings(PHPMD.LongVariable)
1415
*/
1516
class Builder
1617
{

dev/tests/integration/testsuite/Magento/Backend/Model/Search/ConfigTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
/**
2020
* @magentoAppArea adminhtml
21-
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
21+
* @SuppressWarnings(PHPMD.StaticAccess)
2222
*/
2323
class ConfigTest extends \PHPUnit\Framework\TestCase
2424
{
@@ -68,7 +68,7 @@ private function getConfigSearchInstance()
6868
->getArea(FrontNameResolver::AREA_CODE)
6969
->load(Area::PART_CONFIG);
7070

71-
\Magento\TestFramework\Helper\Bootstrap::getObjectManager()->configure([
71+
Bootstrap::getObjectManager()->configure([
7272
'preferences' => [
7373
AuthorizationInterface::class => \Magento\Backend\Model\Search\AuthorizationMock::class
7474
]

0 commit comments

Comments
 (0)