Skip to content

Commit dca37c6

Browse files
committed
B2B-2171: Enable WebapiAsync work with redis connection
- fix static test failure
1 parent 2b56d90 commit dca37c6

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

app/code/Magento/AsynchronousOperations/Model/MassPublisher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function __construct(
7979
}
8080

8181
/**
82-
* {@inheritdoc}
82+
* @inheritdoc
8383
*/
8484
public function publish($topicName, $data)
8585
{

app/code/Magento/MysqlMq/Model/Driver/Bulk/Exchange.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function ($envelope) {
8888
*/
8989
private function isMatchedBinding(BindingInterface $binding, string $topic): bool
9090
{
91-
$pattern = '/^' . str_replace (['.', '*', '#'], ['\.', '[^.]+?', '(.*?)'], $binding->getTopic()) . '$/';
91+
$pattern = '/^' . str_replace(['.', '*', '#'], ['\.', '[^.]+?', '(.*?)'], $binding->getTopic()) . '$/';
9292
return preg_match($pattern, $topic) ? true : false;
9393
}
9494
}

dev/tests/integration/framework/Magento/TestFramework/MessageQueue/PublisherConsumerController.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
use Magento\TestFramework\Helper\Bootstrap;
1414
use Magento\TestFramework\Helper\Amqp;
1515

16-
/**
17-
* Publisher Consumer Controller
18-
*/
1916
class PublisherConsumerController
2017
{
2118
/**
@@ -88,7 +85,6 @@ public function __construct(
8885
$this->amqpHelper = $amqpHelper;
8986
$this->clearQueueProcessor = $clearQueueProcessor
9087
?: Bootstrap::getObjectManager()->get(ClearQueueProcessor::class);
91-
9288
}
9389

9490
/**

0 commit comments

Comments
 (0)