We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed9f0c commit 7a39867Copy full SHA for 7a39867
dev/tests/integration/testsuite/Magento/Wishlist/Block/Customer/SidebarTest.php
@@ -24,7 +24,7 @@
24
*/
25
class SidebarTest extends TestCase
26
{
27
- CONST BLOCK_NAME = 'wishlist_sidebar';
+ private const BLOCK_NAME = 'wishlist_sidebar';
28
29
/** @var ObjectManagerInterface */
30
private $objectManager;
@@ -73,7 +73,7 @@ public function testSidebarWishListNotVisible(): void
73
74
$this->preparePageLayout();
75
$this->assertFalse(
76
- $this->page->getLayout()->getBlock('wishlist_sidebar'),
+ $this->page->getLayout()->getBlock(self::BLOCK_NAME),
77
'Sidebar wish list should not be visible.'
78
);
79
}
0 commit comments