<?xml version="1.0" encoding="UTF-8"?>

<!--

 This file is part of the Sylius package.

 (c) Sylius Sp. z o.o.

 For the full copyright and license information, please view the LICENSE
 file that was distributed with this source code.

-->

<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
    <services>
        <defaults public="true" />

        <service id="Sylius\Behat\Context\Cli\ShowingAvailablePluginsContext">
            <argument type="service" id="kernel" />
        </service>

        <service id="sylius.behat.context.cli.installer" class="Sylius\Behat\Context\Cli\InstallerContext">
            <argument type="service" id="kernel" />
        </service>

        <service id="sylius.behat.context.cli.cancel_unpaid_orders" class="Sylius\Behat\Context\Cli\CancelUnpaidOrdersContext">
            <argument type="service" id="kernel" />
            <argument type="service" id="sylius.repository.order" />
        </service>

        <service id="sylius.behat.context.cli.change_admin_password" class="Sylius\Behat\Context\Cli\ChangeAdminPasswordContext">
            <argument type="service" id="kernel" />
            <argument type="service" id="sylius.repository.admin_user" />
            <argument type="service" id="sylius.security.password_hasher" />
        </service>
    </services>
</container>
