Skip to content

Commit 7a39867

Browse files
committed
MC-31251: Wishlist configurations enabled/disabled
1 parent 9ed9f0c commit 7a39867

File tree

1 file changed

+2
-2
lines changed
  • dev/tests/integration/testsuite/Magento/Wishlist/Block/Customer

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Wishlist/Block/Customer/SidebarTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
class SidebarTest extends TestCase
2626
{
27-
CONST BLOCK_NAME = 'wishlist_sidebar';
27+
private const BLOCK_NAME = 'wishlist_sidebar';
2828

2929
/** @var ObjectManagerInterface */
3030
private $objectManager;
@@ -73,7 +73,7 @@ public function testSidebarWishListNotVisible(): void
7373
{
7474
$this->preparePageLayout();
7575
$this->assertFalse(
76-
$this->page->getLayout()->getBlock('wishlist_sidebar'),
76+
$this->page->getLayout()->getBlock(self::BLOCK_NAME),
7777
'Sidebar wish list should not be visible.'
7878
);
7979
}

0 commit comments

Comments
 (0)