phpunit compatibility
This commit is contained in:
parent
1f95f57be9
commit
1f6b962468
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ class ControllerWithGcsTest extends ControllerTest
|
||||||
private static $_bucket;
|
private static $_bucket;
|
||||||
private $_options = array();
|
private $_options = array();
|
||||||
|
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass(): void
|
||||||
{
|
{
|
||||||
$httpClient = new Client(array('debug'=>false));
|
$httpClient = new Client(array('debug'=>false));
|
||||||
$handler = HttpHandlerFactory::build($httpClient);
|
$handler = HttpHandlerFactory::build($httpClient);
|
||||||
|
@ -28,7 +28,7 @@ class ControllerWithGcsTest extends ControllerTest
|
||||||
self::$_bucket = self::$_client->createBucket($name);
|
self::$_bucket = self::$_client->createBucket($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
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';
|
||||||
|
|
Loading…
Reference in a new issue