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); }