Skip to content

Commit d08a9f8

Browse files
AnujNehraAnujNehra
authored andcommitted
ACP2E-1776: Creating customer(-s) via Async REST API ignores group_id
1 parent 2f14e53 commit d08a9f8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

app/code/Magento/Customer/Test/Unit/Model/AccountManagementApiTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
use Magento\Framework\Stdlib\StringUtils;
4444
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper;
4545
use Magento\Store\Api\Data\StoreInterface;
46-
use Magento\Store\Model\Store;
4746
use Magento\Store\Model\StoreManagerInterface;
4847
use PHPUnit\Framework\MockObject\MockObject;
4948
use PHPUnit\Framework\TestCase;
@@ -242,11 +241,6 @@ class AccountManagementApiTest extends TestCase
242241
*/
243242
private $storeMock;
244243

245-
/**
246-
* @var Store|MockObject
247-
*/
248-
private $store;
249-
250244
/**
251245
* @inheritDoc
252246
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
@@ -255,9 +249,6 @@ protected function setUp(): void
255249
{
256250
$this->customerFactory = $this->createPartialMock(CustomerFactory::class, ['create']);
257251
$this->manager = $this->getMockForAbstractClass(ManagerInterface::class);
258-
$this->store = $this->getMockBuilder(Store::class)
259-
->disableOriginalConstructor()
260-
->getMock();
261252
$this->storeManager = $this->getMockForAbstractClass(StoreManagerInterface::class);
262253
$this->random = $this->createMock(Random::class);
263254
$this->validator = $this->createMock(Validator::class);

0 commit comments

Comments
 (0)