Skip to content

Commit fa77e7c

Browse files
author
Oleksandr Iegorov
committed
MC-19791: Poor performance on sales order update - string to integer
1 parent b733990 commit fa77e7c

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/Test/Unit/Model/ResourceModel

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function testSaveWithReservedId()
127127
]
128128
)
129129
->getMockForAbstractClass();
130-
$dbAdapter->expects($this->any())->method('describeTable')->willReturn([]);
130+
$dbAdapter->expects($this->any())->method('describeTable')->willReturn(['customer_group_id' => []]);
131131
$dbAdapter->expects($this->any())->method('update')->willReturnSelf();
132132
$dbAdapter->expects($this->once())->method('lastInsertId')->willReturn($expectedId);
133133
$selectMock = $this->getMockBuilder(\Magento\Framework\DB\Select::class)

0 commit comments

Comments
 (0)