Skip to content

Commit 9925b9e

Browse files
committed
Fix tests
1 parent f35891b commit 9925b9e

File tree

6 files changed

+13
-3
lines changed

6 files changed

+13
-3
lines changed

tests/sut/bar/tests/src/Functional/InstallFileTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ final class InstallFileTest extends BrowserTestBase {
2525
* Test callback.
2626
*/
2727
public function testInstall(): void {
28+
// @todo Remove this once we drop support for Drupal 10.2.
2829
if (\version_compare(\Drupal::VERSION, '10.3', '<')) {
2930
self::markTestSkipped();
3031
}

tests/sut/nigma/tests/src/Functional/ContentEntityTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ final class ContentEntityTest extends BrowserTestBase {
3131
* Test callback.
3232
*/
3333
public function testEntityType(): void {
34+
// @todo Remove this once we drop support for Drupal 10.2.
35+
if (\version_compare(\Drupal::VERSION, '10.3', '<')) {
36+
self::markTestSkipped();
37+
}
3438

3539
$permissions = [
3640
'administer example types',

tests/sut/qux/tests/src/FunctionalJavascript/FieldBaseTest.php renamed to tests/sut/qux/tests/src/FunctionalJavascript/FieldBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @group DCG
1414
*/
15-
abstract class FieldBaseTest extends WebDriverTestBase {
15+
abstract class FieldBase extends WebDriverTestBase {
1616

1717
use NodeCreationTrait;
1818

tests/sut/qux/tests/src/FunctionalJavascript/FieldFormatterTest.php renamed to tests/sut/qux/tests/src/FunctionalJavascript/FieldFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @group DCG
1111
*/
12-
final class FieldFormatterTest extends FieldBaseTest {
12+
final class FieldFormatter extends FieldBase {
1313

1414
/**
1515
* Test callback.

tests/sut/qux/tests/src/FunctionalJavascript/FieldWidgetTest.php renamed to tests/sut/qux/tests/src/FunctionalJavascript/FieldWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @group DCG
1111
*/
12-
final class FieldWidgetTest extends FieldBaseTest {
12+
final class FieldWidget extends FieldBase {
1313

1414
/**
1515
* Test callback.

tests/sut/qux/tests/src/Kernel/ViewStyleTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ public function setUp(): void {
4848
* Test callback.
4949
*/
5050
public function testPlugin(): void {
51+
// @todo Remove this once we drop support for Drupal 10.2.
52+
if (\version_compare(\Drupal::VERSION, '10.3', '<')) {
53+
self::markTestSkipped();
54+
}
55+
5156
$this->assertWrapperClass('item-list');
5257

5358
// Change wrapper class.

0 commit comments

Comments
 (0)