/** * Sets up the tests...called prior to each test * * @return void */ public function setUp() { \Hubzero\Database\Relational::setDefaultConnection($this->getMockDriver()); $app = new Application(); $app['client'] = new \Hubzero\Base\Client\Site(); $app['db'] = $this->getMockDriver(); $app['config'] = \App::get('config'); $this->loader = new Loader($app, ['path_app' => __DIR__ . '/fixtures/app/templates', 'path_core' => __DIR__ . '/fixtures/core/templates']); }
/** * Sets up the tests...called prior to each test * * @return void **/ public function setUp() { \Hubzero\Database\Relational::setDefaultConnection($this->getMockDriver()); }