Skip to content

Commit

Permalink
Merge pull request #2 from elvetemedve/feature/add-composer-dependencies
Browse files Browse the repository at this point in the history
Add composer dependencies
  • Loading branch information
Tibor Kotosz authored Mar 4, 2019
2 parents fe117df + abdc8bf commit 0637f73
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
17 changes: 15 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@
],
"require": {
"php": ">=7.1",
"behat/behat": "^3.5.0"
"behat/behat": "^3.5.0",
"magento/framework": ">=100.1",
"container-interop/container-interop": "^1.2",
"symfony/dependency-injection": ">=2.0",
"symfony/event-dispatcher": ">=2.0",
"magento/module-authorization": "*",
"magento/module-user": "*",
"magento/module-backend": "*"
},
"require-dev": {
"bex/behat-test-runner": "^1.2.1",
Expand All @@ -28,5 +35,11 @@
"psr-0": {
"Bex\\Behat\\Magento2Extension": "src/"
}
}
},
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@

use Bex\Behat\Magento2Extension\Service\MagentoObjectManager;
use Interop\Container\ContainerInterface;
use Magento\Authorization\Model\ResourceModel\Role\Collection;
use Magento\Backend\Model\Auth\Session;
use Magento\Framework\App\Bootstrap;
use Magento\Framework\App\Filesystem\DirectoryList;
use Magento\Framework\App\ObjectManager;
use Magento\Framework\App\State;
use Magento\Framework\ObjectManager\ConfigLoaderInterface;
use Magento\Framework\Registry;
use Magento\User\Model\UserFactory;
use Symfony\Component\DependencyInjection\ContainerBuilder as SymfonyServiceContainer;
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
use Behat\Testwork\EventDispatcher\Event\BeforeSuiteTested;
use Behat\Testwork\EventDispatcher\Event\SuiteTested;
use Bex\Behat\Magento2Extension\ServiceContainer\Config;
use Magento\Authorization\Model\ResourceModel\Role\Collection;
use Magento\Backend\Model\Auth\Session;
use Magento\Framework\App\Area;
use Magento\Framework\App\Bootstrap;
use Magento\Framework\App\Filesystem\DirectoryList;
use Magento\Framework\App\ObjectManager;
use Magento\Framework\App\State;
use Magento\Framework\ObjectManager\ConfigLoaderInterface;
use Magento\Framework\Registry;
use Magento\User\Model\UserFactory;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Magento\Authorization\Model\ResourceModel\Role\Collection;
use Magento\Backend\Model\Auth\Session;
use Magento\User\Model\UserFactory;

class MagentoObjectManagerInitializer implements EventSubscriberInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Behat\Testwork\ServiceContainer\Extension;
use Behat\Testwork\ServiceContainer\ExtensionManager;
use Magento\Framework\App\Http as HttpApplication;
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
Expand Down

0 comments on commit 0637f73

Please sign in to comment.