Skip to content

Commit 5529aac

Browse files
Updating group repository test to fix code standards problem
1 parent df03a50 commit 5529aac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Customer/Test/Unit/Model/ResourceModel/GroupRepositoryTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function testSave()
173173
$groupId = 0;
174174

175175
$taxClass = $this->getMockForAbstractClass(\Magento\Tax\Api\Data\TaxClassInterface::class, [], '', false);
176-
$groupExtensionAttributes = $this->getMockForAbstractClass(\Magento\Customer\Api\Data\GroupExtensionInterface::class);
176+
$extensionAttributes = $this->getMockForAbstractClass(\Magento\Customer\Api\Data\GroupExtensionInterface::class);
177177

178178
$this->group->expects($this->atLeastOnce())
179179
->method('getCode')
@@ -186,7 +186,7 @@ public function testSave()
186186
->willReturn(17);
187187
$this->group->expects($this->atLeastOnce())
188188
->method('getExtensionAttributes')
189-
->willReturn($groupExtensionAttributes);
189+
->willReturn($extensionAttributes);
190190

191191
$this->groupModel->expects($this->atLeastOnce())
192192
->method('getId')
@@ -220,7 +220,7 @@ public function testSave()
220220
->willReturnSelf();
221221
$this->factoryCreatedGroup->expects($this->once())
222222
->method('setExtensionAttributes')
223-
->with($groupExtensionAttributes)
223+
->with($extensionAttributes)
224224
->willReturnSelf();
225225
$this->factoryCreatedGroup->expects($this->atLeastOnce())
226226
->method('getCode')

0 commit comments

Comments
 (0)