/** * Setup the tests. * * @return void */ protected function setUp() { parent::setUp(); $this->instance = new Profiler('test'); }
/** * Sets up the fixture. * * @return void */ public function setUp() { $this->obj = $this->getObjectForTrait('Hubzero\\Base\\Traits\\ErrorBag'); parent::setUp(); }
/** * Test setup * * @return void */ protected function setUp() { $data = new stdClass(); $data->app = new stdClass(); $data->app->application_env = "development"; $data->app->editor = "ckeditor"; $data->app->list_limit = 25; $data->app->helpurl = "English (GB) - HUBzero help"; $data->app->debug = 1; $data->app->debug_lang = 0; $data->app->sef = 1; $data->app->sef_rewrite = 1; $data->app->sef_suffix = 0; $data->app->sef_groups = 0; $data->app->feed_limit = 10; $data->app->feed_email = "author"; $data->seo = new stdClass(); $data->seo->sef = 1; $data->seo->sef_groups = 0; $data->seo->sef_rewrite = 1; $data->seo->sef_suffix = 0; $data->seo->unicodeslugs = 0; $data->seo->sitename_pagetitles = 0; $this->obj = $data; $this->arr = array('app' => (array) $data->app, 'seo' => (array) $data->seo); $this->processor = new Php(); parent::setUp(); }