Skip to content

Commit 18628ba

Browse files
committed
magento-engcom/bulk-api#4 Support for Async operations in WebAPI
- Fixed static tests
1 parent d73da4a commit 18628ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/WebapiAsync/Model/ServiceConfig/Converter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private function mergeSynchronousInvocationMethodsData(
6262
$result[self::KEY_SERVICES][$serviceClass][self::KEY_METHODS][$serviceMethod] = array_merge(
6363
$result[self::KEY_SERVICES][$serviceClass][self::KEY_METHODS][$serviceMethod],
6464
[
65-
self::KEY_SYNCHRONOUS_INVOCATION_ONLY => $this->getSynchronousMethodInvocationOnly($service)
65+
self::KEY_SYNCHRONOUS_INVOCATION_ONLY => $this->isSynchronousMethodInvocationOnly($service)
6666
]
6767
);
6868
}
@@ -132,7 +132,7 @@ private function getServiceMethod(\DOMElement $service)
132132
* @param \DOMElement $serviceNode
133133
* @return bool
134134
*/
135-
private function getSynchronousMethodInvocationOnly(\DOMElement $serviceNode)
135+
private function isSynchronousMethodInvocationOnly(\DOMElement $serviceNode)
136136
{
137137
$synchronousInvocationOnlyNodes = $serviceNode->getElementsByTagName('synchronousInvocationOnly');
138138

app/code/Magento/WebapiAsync/Test/Unit/Model/ServiceConfig/SchemaLocatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class SchemaLocatorTest extends \PHPUnit\Framework\TestCase
1919

2020
protected function setUp()
2121
{
22-
$this->moduleReaderMock = $this->createPartialMock(
22+
$this->moduleReaderMock = $this->createPartialMock(
2323
\Magento\Framework\Module\Dir\Reader::class,
2424
['getModuleDir']
2525
);

0 commit comments

Comments
 (0)