improving code coverage and unit testing
This commit is contained in:
@@ -19,7 +19,7 @@ class privatebinWithDbTest extends privatebinTest
|
||||
/* Setup Routine */
|
||||
$this->_path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'privatebin_data';
|
||||
if(!is_dir($this->_path)) mkdir($this->_path);
|
||||
$this->_options['dsn'] = 'sqlite:' . $this->_path . '/tst.sq3';
|
||||
$this->_options['dsn'] = 'sqlite:' . $this->_path . DIRECTORY_SEPARATOR . 'tst.sq3';
|
||||
$this->_model = privatebin_db::getInstance($this->_options);
|
||||
$this->reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user