Skip to content

Commit 7dfdd68

Browse files
committed
MC-6273: Mysql url_rewrite select make on product view page 170+ times per request
- fixed static tests
1 parent 83a1c23 commit 7dfdd68

File tree

2 files changed

+4
-1
lines changed
  • app/code/Magento/Config/App/Config/Type
  • lib/internal/Magento/Framework/View/Test/Unit/Element/Html

2 files changed

+4
-1
lines changed

app/code/Magento/Config/App/Config/Type/System.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @api
2828
* @since 100.1.2
2929
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
30+
* @SuppressWarnings(PHPMD.UnusedPrivateMethod)
3031
*/
3132
class System implements ConfigTypeInterface
3233
{

lib/internal/Magento/Framework/View/Test/Unit/Element/Html/LinkTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
67
namespace Magento\Framework\View\Test\Unit\Element\Html;
78

89
class LinkTest extends \PHPUnit\Framework\TestCase
@@ -108,7 +109,8 @@ public function testGetLinkAttributes()
108109
}
109110

110111
$this->assertEquals(
111-
'href="http://site.com/link.html" shape="shape" tabindex="tabindex" onfocus="onfocus" onblur="onblur" id="id"',
112+
'href="http://site.com/link.html" shape="shape" tabindex="tabindex"'
113+
. ' onfocus="onfocus" onblur="onblur" id="id"',
112114
$linkWithoutAttributes->getLinkAttributes()
113115
);
114116
}

0 commit comments

Comments
 (0)