public static function setUpBeforeClass() { parent::setUpBeforeClass(); SecurityTestHelper::createSuperAdmin(); Yii::import('application.core.data.*'); Yii::import('application.modules.accounts.data.*'); $defaultDataMaker = new AccountsDefaultDataMaker(); $defaultDataMaker->make(); }
public static function setUpBeforeClass() { parent::setUpBeforeClass(); SecurityTestHelper::createSuperAdmin(); Yii::import('application.core.data.*'); Yii::import('application.modules.accounts.data.*'); $defaultDataMaker = new AccountsDefaultDataMaker(); $defaultDataMaker->make(); Yii::import('application.modules.contacts.data.*'); $defaultDataMaker = new ContactsDefaultDataMaker(); $defaultDataMaker->make(); Currency::getAll(); //forces base currency to be created. ContactsModule::loadStartingData(); }