diff --git a/blog-api/tests/Functional/IndexControllerTest.php b/blog-api/tests/Functional/IndexControllerTest.php index 781f79ec..1b9abd4e 100644 --- a/blog-api/tests/Functional/IndexControllerTest.php +++ b/blog-api/tests/Functional/IndexControllerTest.php @@ -30,7 +30,11 @@ public function testGetIndex(): void 'status' => 'success', 'error_message' => '', 'error_code' => null, - 'data' => ['version' => '3.0', 'author' => 'yiisoft'], + 'data' => [ + 'version' => '3.0', + 'author' => 'yiisoft', + 'lazy' => true, + ], ], $response->getContentAsJson() ); @@ -52,7 +56,11 @@ public function testGetIndexMockVersion(): void 'status' => 'success', 'error_message' => '', 'error_code' => null, - 'data' => ['version' => '3.0.0', 'author' => 'yiisoft'], + 'data' => [ + 'version' => '3.0.0', + 'author' => 'yiisoft', + 'lazy' => false, + ], ], $response->getContentAsJson() );