diff --git a/web/modules/custom/blog/src/Action/ConvertPostToTweet.php b/web/modules/custom/blog/src/Action/ConvertPostToTweet.php new file mode 100644 index 0000000..1f6ddc5 --- /dev/null +++ b/web/modules/custom/blog/src/Action/ConvertPostToTweet.php @@ -0,0 +1,11 @@ +postFactory->create(); @@ -83,6 +86,7 @@ final class PostTest extends EntityKernelTestBase { parent::setUp(); $this->postFactory = $this->container->get(PostFactory::class); + $this->convertPostToTweet = $this->container->get(ConvertPostToTweet::class); $this->installEntitySchema('taxonomy_term');