diff --git a/framework/core/tests/integration/api/discussions/CreateTest.php b/framework/core/tests/integration/api/discussions/CreateTest.php index 3b176e29ec..c70729b0f4 100644 --- a/framework/core/tests/integration/api/discussions/CreateTest.php +++ b/framework/core/tests/integration/api/discussions/CreateTest.php @@ -76,7 +76,7 @@ public function cannot_create_discussion_without_content_property() { $this->extend( (new Extend\Formatter) - ->unparse(function ($content) { + ->unparse(function ($ctx, $content) { return $content; }), @@ -122,7 +122,7 @@ public function cannot_create_discussion_with_content_set_to_null() { $this->extend( (new Extend\Formatter) - ->unparse(function ($content) { + ->unparse(function ($ctx, $content) { return $content; }),