1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-13 14:04:51 +02:00
Files
php-e107/tests/_support/Helper/Unit.php
2018-02-17 04:11:26 -06:00

25 lines
516 B
PHP

<?php
namespace Helper;
// here you can define custom actions
// all public methods declared in helper class will be available in $I
class Unit extends E107Base
{
protected $deployer_components = ['db'];
public function _beforeSuite($settings = array())
{
parent::_beforeSuite($settings);
global $_E107;
$_E107 = array();
$_E107['cli'] = true;
$_E107['phpunit'] = true;
#$_E107['debug'] = true;
codecept_debug("Loading ".APP_PATH."/class2.php…");
require_once(APP_PATH."/class2.php");
}
}