From edb8ac1f12cc01ea547a615071ce2aec33ed81a8 Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Mon, 7 Oct 2024 14:25:15 +0200 Subject: [PATCH] chore --- .../core/tests/integration/api/discussions/CreateTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/tests/integration/api/discussions/CreateTest.php b/framework/core/tests/integration/api/discussions/CreateTest.php index ab3b4f5d68..7e81b1d37d 100644 --- a/framework/core/tests/integration/api/discussions/CreateTest.php +++ b/framework/core/tests/integration/api/discussions/CreateTest.php @@ -78,7 +78,7 @@ public function cannot_create_discussion_without_content_property() (new Extend\Formatter) ->unparse(function ($content) { return $content; - }) + }), (new Extend\Event()) ->listen(\Flarum\Post\Event\Saving::class, function ($event) { @@ -124,7 +124,7 @@ public function cannot_create_discussion_with_content_set_to_null() (new Extend\Formatter) ->unparse(function ($content) { return $content; - }) + }), (new Extend\Event()) ->listen(\Flarum\Post\Event\Saving::class, function ($event) {