Skip to content

Commit 90c85b4

Browse files
committed
ACP2E-3380: [GraphQl] Wishlist items are visible via GraphQl but not visible on storefront
1 parent f4960e4 commit 90c85b4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/code/Magento/WishlistGraphQl/Test/Unit/Model/Resolver/WishlistItemsTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Copyright 2024 Adobe
44
* All Rights Reserved.
55
*/
6-
declare(strict_types = 1);
6+
declare(strict_types=1);
77

88
namespace Magento\WishlistGraphQl\Test\Unit\Model\Resolver;
99

@@ -58,7 +58,10 @@ public function testResolve(): void
5858
$store = $this->createMock(StoreInterface::class);
5959
$store->expects($this->once())->method('getId')->willReturn($storeId);
6060

61-
$extensionAttributes = $this->createMock(ContextExtensionInterface::class);
61+
$extensionAttributes = $this->getMockBuilder(ContextExtensionInterface::class)
62+
->disableOriginalConstructor()
63+
->addMethods(['getStore'])
64+
->getMock();
6265
$extensionAttributes->expects($this->exactly(2))
6366
->method('getStore')
6467
->willReturn($store);

0 commit comments

Comments
 (0)