diff --git a/framework/core/tests/integration/extenders/ApiControllerTest.php b/framework/core/tests/integration/extenders/ApiControllerTest.php index 910bdb542..9f18e0c3f 100644 --- a/framework/core/tests/integration/extenders/ApiControllerTest.php +++ b/framework/core/tests/integration/extenders/ApiControllerTest.php @@ -146,6 +146,7 @@ class ApiControllerTest extends TestCase ->endpoint(Show::class, function (Show $endpoint): Show { return $endpoint->after(function (Context $context, object $model) { $model->title = 'dataSerializationPrepCustomTitle4'; + return $model; }); }),