Files
Phraseanet/features/bootstrap/FeatureContext.php
Nicolas Le Goff 52740ba028 Fix CS
2013-05-29 14:23:08 +02:00

35 lines
837 B
PHP

<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2013 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
require_once __DIR__ . '/../../vendor/autoload.php';
require_once __DIR__ . '/GuiContext.php';
use Behat\Behat\Context\BehatContext;
use Behat\Behat\Exception\PendingException;
use Behat\Gherkin\Node\PyStringNode;
use Behat\Gherkin\Node\TableNode;
class FeatureContext extends BehatContext
{
/**
* Initializes context.
* Every scenario gets it's own context object.
*
* @param array $parameters context parameters (set them up through behat.yml)
*/
public function __construct(array $parameters)
{
$this->useContext('gui',
new GuiContext($parameters)
);
}
}