Skip to content

Commit b09aa29

Browse files
committed
Added Source Item fixture
1 parent c659356 commit b09aa29

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

app/code/Magento/CatalogInventory/Test/Fixture/SourceItem.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,7 @@ public function apply(array $data = []): ?DataObject
7272
public function revert(DataObject $data): void
7373
{
7474
$service = $this->serviceFactory->create(SourceItemsDeleteInterface::class, 'execute');
75-
$service->execute(
76-
[
77-
'sourceItems' => [$this->prepareData($data->getData())]
78-
]
79-
);
75+
$service->execute(['sourceItems' => [$this->prepareData($data->getData())]]);
8076
}
8177

8278
/**

0 commit comments

Comments
 (0)