Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 910eaca

Browse files
committed
magento/bulk-api-ce#12: Operations Status Search API Endpoint
1 parent ae1a034 commit 910eaca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dev/tests/integration/testsuite/Magento/AsynchronousOperations/Model/BulkManagementTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
namespace Magento\AsynchronousOperations\Model;
77

88
use Magento\AsynchronousOperations\Api\Data\BulkSummaryInterface;
9-
use Magento\AsynchronousOperations\Api\Data\DetailedOperationStatusInterface;
109
use Magento\TestFramework\Helper\Bootstrap;
1110
use Magento\Framework\ObjectManagerInterface;
1211
use Magento\AsynchronousOperations\Api\Data\OperationInterface;
@@ -136,7 +135,7 @@ private function getStoredOperationData()
136135
{
137136
/** @var MetadataPool $metadataPool */
138137
$metadataPool = $this->objectManager->get(MetadataPool::class);
139-
$operationMetadata = $metadataPool->getMetadata(DetailedOperationStatusInterface::class);
138+
$operationMetadata = $metadataPool->getMetadata(OperationInterface::class);
140139
/** @var ResourceConnection $resourceConnection */
141140
$resourceConnection = $this->objectManager->get(ResourceConnection::class);
142141
$connection = $resourceConnection->getConnectionByName($operationMetadata->getEntityConnectionName());

0 commit comments

Comments
 (0)