From 9cf30bf5fd0a5bbb3ae9261d2111dd1a099a70a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 6 Nov 2018 19:44:29 +0100 Subject: [PATCH] Fix tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- tests/unit/controller/AttachmentApiControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/controller/AttachmentApiControllerTest.php b/tests/unit/controller/AttachmentApiControllerTest.php index 52458f527..df67dfdab 100644 --- a/tests/unit/controller/AttachmentApiControllerTest.php +++ b/tests/unit/controller/AttachmentApiControllerTest.php @@ -85,7 +85,7 @@ class AttachmentApiControllerTest extends \Test\TestCase { $this->cardId, $this->attachmentExample->getId()); - $expected = new DataResponse($this->attachmentExample, HTTP::STATUS_OK); + $expected = $this->attachmentExample; $actual = $this->controller->display(); $this->assertEquals($expected, $actual); }