diff --git a/tests/Behat/Context/Setup/PageContext.php b/tests/Behat/Context/Setup/PageContext.php index 986a2352..273982e4 100755 --- a/tests/Behat/Context/Setup/PageContext.php +++ b/tests/Behat/Context/Setup/PageContext.php @@ -191,7 +191,6 @@ public function thesePagesHaveThisCollectionAssociatedWithIt(): void private function createPage( ?string $code = null, ?string $name = null, - ?string $content = null, ChannelInterface $channel = null, ): PageInterface { /** @var PageInterface $page */ @@ -209,15 +208,10 @@ private function createPage( $name = $this->randomStringGenerator->generate(); } - if (null === $content) { - $content = $this->randomStringGenerator->generate(); - } - $page->setCode($code); $page->setCurrentLocale('en_US'); $page->setName($name); $page->setSlug($this->randomStringGenerator->generate()); - $page->setContent($content); $page->addChannel($channel); return $page;