diff --git a/tests/SuccessTest.php b/tests/SuccessTest.php index 86679ab..168ad3c 100644 --- a/tests/SuccessTest.php +++ b/tests/SuccessTest.php @@ -151,7 +151,7 @@ public function testSuccessWithCollectionData() 'status' => 'success', 'code' => 200, 'message' => ResponseCodeEnum::fromValue(200)->description, - 'data' => ['data' => $data], + 'data' => $data, 'error' => (object) [], ]); $this->assertJsonStringEqualsJsonString($expectedJson, $response->getContent());