From e3e23605ca80434223052d1b948192071088b16e Mon Sep 17 00:00:00 2001 From: Avikarsha Saha Date: Tue, 18 Jun 2024 16:50:19 +0530 Subject: [PATCH] skiped for 4.4 --- Tests/Functional/PreviewFunctionalTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tests/Functional/PreviewFunctionalTest.php b/Tests/Functional/PreviewFunctionalTest.php index 8ef149cb0..cd4aa1421 100644 --- a/Tests/Functional/PreviewFunctionalTest.php +++ b/Tests/Functional/PreviewFunctionalTest.php @@ -12,12 +12,14 @@ use MauticPlugin\CustomObjectsBundle\Model\CustomFieldValueModel; use MauticPlugin\CustomObjectsBundle\Model\CustomItemModel; use MauticPlugin\CustomObjectsBundle\Tests\Functional\DataFixtures\Traits\CustomObjectsTrait; +use MauticPlugin\CustomObjectsBundle\Tests\ProjectVersionTrait; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; class PreviewFunctionalTest extends MauticMysqlTestCase { use CustomObjectsTrait; + use ProjectVersionTrait; /** * @var CustomItemModel @@ -39,6 +41,10 @@ protected function setUp(): void public function testPreviewPageCODynamicContent(): void { + if (!$this->isCloudProject()) { + $this->markTestSkipped('Not supported in 4.4'); + } + $customObject = $this->createCustomObjectWithAllFields(self::$container, 'Car'); $customItem = new CustomItem($customObject);