library/Bootstrap/SeleniumBootstrap.php
public function init()
    {
        parent::init();

        define("SHOP_EDITION", ($this->getTestConfig()->getShopEdition() == 'EE') ? 'EE' : 'PE_CE');

        $this->prepareScreenShots();
        $this->copyTestFilesToShop();

        /** @var \OxidEsales\Eshop\Core\Config $config */
        $config = oxNew(\OxidEsales\Eshop\Core\Config::class);
        \OxidEsales\Eshop\Core\Registry::set(\OxidEsales\Eshop\Core\Config::class, $config);

        register_shutdown_function(function () {
            AcceptanceTestCase::stopMinkSession();
        });
    }
public function init()
    {
        parent::init();

        define("SHOP_EDITION", ($this->getTestConfig()->getShopEdition() == 'EE') ? 'EE' : 'PE_CE');

        $this->prepareScreenShots();
        $this->copyTestFilesToShop();

        /** @var \OxidEsales\Eshop\Core\Config $config */
        $config = oxNew(\OxidEsales\Eshop\Core\Config::class);
        \OxidEsales\Eshop\Core\Registry::set(\OxidEsales\Eshop\Core\Config::class, $config);

        register_shutdown_function(function () {
            AcceptanceTestCase::stopMinkSession();
        });
    }
public function init ( ) { parent :: init ( ) ; define ( "SHOP_EDITION" , ( $ this -> getTestConfig ( ) -> getShopEdition ( ) == 'EE' ) ? 'EE' : 'PE_CE' ) ; $ this -> prepareScreenShots ( ) ; $ this -> copyTestFilesToShop ( ) ; /** @var \OxidEsales\Eshop\Core\Config $config */ $ config = oxNew ( \ OxidEsales \ Eshop \ Core \ Config :: class ) ; \ OxidEsales \ Eshop \ Core \ Registry :: set ( \ OxidEsales \ Eshop \ Core \ Config :: class , $ config ) ; register_shutdown_function ( function ( ) { AcceptanceTestCase :: stopMinkSession ( ) ; } ) ; }
Initiates shop before testing.
Initiates shop before testing .