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

Commit 96852f6

Browse files
committed
Fix code style issues in my change
1 parent 6b3e090 commit 96852f6

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

app/code/Magento/WebapiAsync/Model/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ private function generateLookupKeyByRouteData($routeUrl, $httpMethod)
150150
* self::TOPIC_PREFIX + Magento\Catalog\Api\ProductRepositoryInterface + save + POST
151151
* => async.magento.catalog.api.productrepositoryinterface.save.POST
152152
*
153-
* @param string $serviceMethod
154153
* @param string $serviceInterface
154+
* @param string $serviceMethod
155155
* @param string $httpMethod
156156
* @return string
157157
*/

app/code/Magento/WebapiAsync/Test/Unit/Model/ConfigTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function testGetServicesSetsTopicFromServiceContractName()
6161
'/V1/products' => [
6262
'POST' => [
6363
'service' => [
64-
'class' => 'Magento\Catalog\Api\ProductRepositoryInterface',
64+
'class' => \Magento\Catalog\Api\ProductRepositoryInterface::class,
6565
'method' => 'save',
6666
]
6767
]
@@ -87,4 +87,5 @@ public function testGetServicesSetsTopicFromServiceContractName()
8787
$lookupKey = 'async.V1.products.POST';
8888
$this->assertArrayHasKey($lookupKey, $result);
8989
$this->assertEquals($result[$lookupKey]['topic'], $expectedTopic);
90-
}}
90+
}
91+
}

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ public function sendBulk($products)
128128
}
129129
$this->clearProducts();
130130

131-
$result = $this->massSchedule->publishMass('async.magento.catalog.api.productrepositoryinterface.save.post', $products);
131+
$result = $this->massSchedule->publishMass(
132+
'async.magento.catalog.api.productrepositoryinterface.save.post',
133+
$products
134+
);
132135

133136
//assert bulk accepted with no errors
134137
$this->assertFalse($result->isErrors());

0 commit comments

Comments
 (0)