Skip to content

Commit

Permalink
Merge pull request #324 from magento-folks/MAGETWO-57129
Browse files Browse the repository at this point in the history
Bug
MAGETWO-56473 Can't run B2B functional tests for logic with asynchronous operations

Story
MAGETWO-57129 Optional RabbitMQ Component
  • Loading branch information
VladimirZaets authored Sep 5, 2016
2 parents 3f2ae24 + 0107bf3 commit 5c6b2d6
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 59 deletions.
23 changes: 23 additions & 0 deletions dev/tests/functional/lib/Magento/Mtf/Util/Command/Cli/Queue.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Mtf\Util\Command\Cli;

/**
* Class Queue
*/
class Queue extends \Magento\Mtf\Util\Command\Cli
{
/**
* Starts consumer
*
* @param string $consumer
*/
public function run($consumer)
{
parent::execute('queue:consumers:start ' . $consumer . ' > /dev/null &');
}
}
8 changes: 3 additions & 5 deletions lib/internal/Magento/Framework/DataObject/IdentityService.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ class IdentityService implements IdentityGeneratorInterface

/**
* IdentityService constructor.
* @param \Ramsey\Uuid\UuidFactory $uuidFactory
*/
public function __construct(
\Ramsey\Uuid\UuidFactory $uuidFactory
) {
$this->uuidFactory = $uuidFactory;
public function __construct()
{
$this->uuidFactory = new \Ramsey\Uuid\UuidFactory();
}

/**
Expand Down

This file was deleted.

0 comments on commit 5c6b2d6

Please sign in to comment.