make YourlsProxyTest compatible with newer phpunit
This commit is contained in:
parent
522c2721a2
commit
8ed9fccf25
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ class YourlsProxyTest extends TestCase
|
||||||
|
|
||||||
private $_mock_yourls_service;
|
private $_mock_yourls_service;
|
||||||
|
|
||||||
public function setUp()
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
/* Setup Routine */
|
/* Setup Routine */
|
||||||
$this->_path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'privatebin_data';
|
$this->_path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'privatebin_data';
|
||||||
|
@ -29,7 +29,7 @@ class YourlsProxyTest extends TestCase
|
||||||
$this->_conf = new Configuration;
|
$this->_conf = new Configuration;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function tearDown()
|
public function tearDown(): void
|
||||||
{
|
{
|
||||||
/* Tear Down Routine */
|
/* Tear Down Routine */
|
||||||
unlink(CONF);
|
unlink(CONF);
|
||||||
|
|
Loading…
Reference in a new issue