implementing key/value store of Persistance in Database storage

This commit is contained in:
El RIDO
2021-06-09 07:47:40 +02:00
parent 7901ec74a7
commit a203e6322b
8 changed files with 86 additions and 65 deletions

View File

@@ -17,6 +17,7 @@ class ControllerTest extends PHPUnit_Framework_TestCase
/* Setup Routine */
$this->_path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'privatebin_data';
$this->_data = Filesystem::getInstance(array('dir' => $this->_path));
ServerSalt::setStore($this->_data);
TrafficLimiter::setStore($this->_data);
$this->reset();
}