This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree 2 files changed +2
-2
lines changed
app/code/Magento/AsynchronousOperations/Api/Data
dev/tests/integration/testsuite/Magento/AsynchronousOperations/Model
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,4 +28,3 @@ public function getResultSerializedData();
28
28
*/
29
29
public function setResultSerializedData ($ resultSerializedData );
30
30
}
31
-
Original file line number Diff line number Diff line change 6
6
namespace Magento \AsynchronousOperations \Model ;
7
7
8
8
use Magento \AsynchronousOperations \Api \Data \BulkSummaryInterface ;
9
+ use Magento \AsynchronousOperations \Api \Data \DetailedOperationStatusInterface ;
9
10
use Magento \TestFramework \Helper \Bootstrap ;
10
11
use Magento \Framework \ObjectManagerInterface ;
11
12
use Magento \AsynchronousOperations \Api \Data \OperationInterface ;
@@ -135,7 +136,7 @@ private function getStoredOperationData()
135
136
{
136
137
/** @var MetadataPool $metadataPool */
137
138
$ metadataPool = $ this ->objectManager ->get (MetadataPool::class);
138
- $ operationMetadata = $ metadataPool ->getMetadata (OperationInterface ::class);
139
+ $ operationMetadata = $ metadataPool ->getMetadata (DetailedOperationObStatusInterface ::class);
139
140
/** @var ResourceConnection $resourceConnection */
140
141
$ resourceConnection = $ this ->objectManager ->get (ResourceConnection::class);
141
142
$ connection = $ resourceConnection ->getConnectionByName ($ operationMetadata ->getEntityConnectionName ());
You can’t perform that action at this time.
0 commit comments