Skip to content

Commit 2b3c704

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

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,6 @@ public function testCreateAccountWithGroupId(): void
12221222
$minPasswordLength = 5;
12231223
$minCharacterSetsNum = 2;
12241224
$defaultGroupId = 1;
1225-
$requestedGroupId = 3;
12261225

12271226
$datetime = $this->prepareDateTimeFactory();
12281227

@@ -1299,9 +1298,6 @@ public function testCreateAccountWithGroupId(): void
12991298
return null;
13001299
}
13011300
}));
1302-
$customer->expects($this->atLeastOnce())
1303-
->method('getGroupId')
1304-
->willReturn($requestedGroupId);
13051301
$customer
13061302
->method('setGroupId')
13071303
->willReturnOnConsecutiveCalls(null, $defaultGroupId);

0 commit comments

Comments
 (0)