diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-21 16:40:38 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-27 13:34:41 +0100 |
commit | c007ca624f4a95e1a491221d425fcb2fa6e5589a (patch) | |
tree | b60aa133b438eb116ac3579283aa8a7967efd12b /tests/lib/App/CodeChecker | |
parent | e0f32814e33f9ebb8c42744611048cbfac1eb588 (diff) | |
download | nextcloud-server-c007ca624f4a95e1a491221d425fcb2fa6e5589a.tar.gz nextcloud-server-c007ca624f4a95e1a491221d425fcb2fa6e5589a.zip |
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/App/CodeChecker')
-rw-r--r-- | tests/lib/App/CodeChecker/InfoCheckerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/App/CodeChecker/InfoCheckerTest.php b/tests/lib/App/CodeChecker/InfoCheckerTest.php index 3128f902f47..531066a54c6 100644 --- a/tests/lib/App/CodeChecker/InfoCheckerTest.php +++ b/tests/lib/App/CodeChecker/InfoCheckerTest.php @@ -29,7 +29,7 @@ class InfoCheckerTest extends TestCase { /** @var InfoChecker */ protected $infoChecker; - public static function setUpBeforeClass() { + public static function setUpBeforeClass(): void { \OC::$APPSROOTS[] = [ 'path' => \OC::$SERVERROOT . '/tests/apps', 'url' => '/apps-test', @@ -37,12 +37,12 @@ class InfoCheckerTest extends TestCase { ]; } - public static function tearDownAfterClass() { + public static function tearDownAfterClass(): void { // remove last element array_pop(\OC::$APPSROOTS); } - protected function setUp() { + protected function setUp(): void { parent::setUp(); $this->infoChecker = new InfoChecker(); } |