Skip to content

Commit 5c6b2d6

Browse files
Merge pull request #324 from magento-folks/MAGETWO-57129
Bug MAGETWO-56473 Can't run B2B functional tests for logic with asynchronous operations Story MAGETWO-57129 Optional RabbitMQ Component
2 parents 3f2ae24 + 0107bf3 commit 5c6b2d6

File tree

3 files changed

+26
-59
lines changed

3 files changed

+26
-59
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
/**
3+
* Copyright © 2016 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
namespace Magento\Mtf\Util\Command\Cli;
8+
9+
/**
10+
* Class Queue
11+
*/
12+
class Queue extends \Magento\Mtf\Util\Command\Cli
13+
{
14+
/**
15+
* Starts consumer
16+
*
17+
* @param string $consumer
18+
*/
19+
public function run($consumer)
20+
{
21+
parent::execute('queue:consumers:start ' . $consumer . ' > /dev/null &');
22+
}
23+
}

lib/internal/Magento/Framework/DataObject/IdentityService.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@ class IdentityService implements IdentityGeneratorInterface
1919

2020
/**
2121
* IdentityService constructor.
22-
* @param \Ramsey\Uuid\UuidFactory $uuidFactory
2322
*/
24-
public function __construct(
25-
\Ramsey\Uuid\UuidFactory $uuidFactory
26-
) {
27-
$this->uuidFactory = $uuidFactory;
23+
public function __construct()
24+
{
25+
$this->uuidFactory = new \Ramsey\Uuid\UuidFactory();
2826
}
2927

3028
/**

lib/internal/Magento/Framework/DataObject/Test/Unit/IdentityServiceTest.php

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)