From a02f269b506c0466cc290a4a7e160542cadc2bb0 Mon Sep 17 00:00:00 2001 From: Jiannei Date: Sat, 30 Oct 2021 10:12:34 +0800 Subject: [PATCH] fix: collection test --- tests/SuccessTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());