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

@@ -33,12 +33,12 @@ class AttachmentApiControllerTest extends \Test\TestCase {
private $appName = 'deck';
private $controller;
private $request;
private $request;
private $attachmentExample;
private $cardId;
private $attachmentService;
public function setUp() {
public function setUp(): void {
parent::setUp();
$this->attachmentExample = new Attachment();
$this->attachmentExample->setId(1);
@@ -111,7 +111,7 @@ class AttachmentApiControllerTest extends \Test\TestCase {
public function testUpdate() {
// FIXME: what is data supposed to be in this context?
// FIXME: what is data supposed to be in this context?
$data = ['not empty data'];
$this->attachmentService->expects($this->once())
@@ -169,4 +169,4 @@ class AttachmentApiControllerTest extends \Test\TestCase {
$actual = $this->controller->restore();
$this->assertEquals($expected, $actual);
}
}
}