diff --git a/tests/sut/bar/tests/src/Kernel/LayoutTest.php b/tests/sut/bar/tests/src/Kernel/LayoutTest.php index b36511e9..7d24f420 100644 --- a/tests/sut/bar/tests/src/Kernel/LayoutTest.php +++ b/tests/sut/bar/tests/src/Kernel/LayoutTest.php @@ -22,6 +22,10 @@ final class LayoutTest extends KernelTestBase { * Test callback. */ public function testTemplateRendering(): void { + // @todo Remove this once we drop support for Drupal 10.2. + if (\version_compare(\Drupal::VERSION, '10.3', '<')) { + self::markTestSkipped(); + } /** @var \Drupal\Core\Layout\LayoutInterface $layout */ $layout = $this->container->get('plugin.manager.core.layout') diff --git a/tests/sut/plantain/tests/src/Kernel/LibrariesTest.php b/tests/sut/plantain/tests/src/Kernel/LibrariesTest.php index d03fc6d1..0b77f492 100644 --- a/tests/sut/plantain/tests/src/Kernel/LibrariesTest.php +++ b/tests/sut/plantain/tests/src/Kernel/LibrariesTest.php @@ -30,6 +30,10 @@ protected function setUp(): void { * Test callback. */ public function testLibraries(): void { + // @todo Remove this once we drop support for Drupal 10.2. + if (\version_compare(\Drupal::VERSION, '10.3', '<')) { + self::markTestSkipped(); + } $libraries = $this->container->get('library.discovery') ->getLibrariesByExtension('shreya'); self::assertSame(self::getExpectedLibraries(), $libraries); diff --git a/tests/sut/tandoor/tests/src/Kernel/LibrariesTest.php b/tests/sut/tandoor/tests/src/Kernel/LibrariesTest.php index 3c69d773..8420b7ef 100644 --- a/tests/sut/tandoor/tests/src/Kernel/LibrariesTest.php +++ b/tests/sut/tandoor/tests/src/Kernel/LibrariesTest.php @@ -25,6 +25,10 @@ protected function setUp(): void { * Test callback. */ public function testLibraries(): void { + // @todo Remove this once we drop support for Drupal 10.2. + if (\version_compare(\Drupal::VERSION, '10.3', '<')) { + self::markTestSkipped(); + } $libraries = $this->container->get('library.discovery') ->getLibrariesByExtension('azalea'); self::assertSame(self::getExpectedLibraries(), $libraries); diff --git a/tests/sut/yety/tests/src/Kernel/LibrariesTest.php b/tests/sut/yety/tests/src/Kernel/LibrariesTest.php index 37ed8c80..8c04d9d5 100644 --- a/tests/sut/yety/tests/src/Kernel/LibrariesTest.php +++ b/tests/sut/yety/tests/src/Kernel/LibrariesTest.php @@ -22,6 +22,10 @@ final class LibrariesTest extends KernelTestBase { * Test callback. */ public function testLibraries(): void { + // @todo Remove this once we drop support for Drupal 10.2. + if (\version_compare(\Drupal::VERSION, '10.3', '<')) { + self::markTestSkipped(); + } $libraries = $this->container->get('library.discovery') ->getLibrariesByExtension('yety'); self::assertSame(self::getExpectedLibraries(), $libraries);