Bump phpunit and fix CI

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2019-12-17 11:54:45 +01:00
parent f575202a8a
commit 4c0512f0b7
42 changed files with 159 additions and 209 deletions

View File

@@ -29,7 +29,7 @@ use OCP\IRequest;
use OCA\Deck\Db\Label;
use OCA\Deck\Service\LabelService;
class LabelApiControllerTest extends \Test\TestCase {
class LabelApiControllerTest extends \Test\TestCase {
private $controller;
private $request;
@@ -37,7 +37,7 @@ class LabelApiControllerTest extends \Test\TestCase {
private $userId = 'admin';
private $exampleLabel;
public function setUp() {
public function setUp(): void {
parent::setUp();
$this->request = $this->createMock(IRequest::class);
$this->labelService = $this->createMock(LabelService::class);
@@ -125,4 +125,4 @@ class LabelApiControllerTest extends \Test\TestCase {
$this->assertEquals($expected, $actual);
}
}
}