Skip to content

Commit 14277f4

Browse files
committed
fix(ci): move getCustomerGroupId and remaining methods to onlyMethods
1 parent 0a9ae03 commit 14277f4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Test/Unit/Model/Indexer/Order/OrderDataBuilderTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,12 +206,10 @@ private function createOrderMock(
206206
'getOrderCurrencyCode', 'getStatus', 'getState',
207207
'getCreatedAt', 'getUpdatedAt', 'getIncrementId',
208208
'getItems', 'getCustomerEmail', 'getShippingDescription',
209-
])
210-
->addMethods([
211-
'getShippingAddress',
212209
'getCustomerGroupId', 'getCustomerFirstname',
213210
'getCustomerLastname',
214211
])
212+
->addMethods(['getShippingAddress'])
215213
->getMock();
216214

217215
$order->method('getEntityId')->willReturn('42');

0 commit comments

Comments
 (0)