X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcontent_moderation%2Ftests%2Fsrc%2FKernel%2FStateFormatterTest.php;h=c32123df927c9f028efef0a994f0398ac740b634;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=b45b34e8b0c86f8e87156f94f09477f4b89d1c35;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php b/web/core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php index b45b34e8b..c32123df9 100644 --- a/web/core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php +++ b/web/core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php @@ -52,7 +52,7 @@ class StateFormatterTest extends KernelTestBase { ]); $entity->save(); - $field_output = $this->container->get('renderer')->executeInRenderContext(new RenderContext(), function() use ($entity, $formatter_settings) { + $field_output = $this->container->get('renderer')->executeInRenderContext(new RenderContext(), function () use ($entity, $formatter_settings) { return $entity->moderation_state->view($formatter_settings); });