function setUp() { $this->gfObj = new cs_globalFunctions(); $this->gfObj->debugPrintOpt = 1; $this->reset_db(dirname(__FILE__) . '/../vendor/crazedsanity/cs-webapplibs/setup/schema.pgsql.sql'); parent::setUp(); }
/** * Method that is called before every test* method. */ function setUp() { $this->reset_db(); $this->dbObj->load_schema($this->dbObj->get_dbtype(), $this->dbObj); $this->blog = new csb_blog($this->dbObj, 'postgres'); $this->assertTrue((bool) $this->blog->run_setup()); parent::setUp(); }