Skip to content

Commit c4ac3c5

Browse files
longwavemglaman
authored andcommitted
Clear errors from fixed test cases.
1 parent 7b57ce2 commit c4ac3c5

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

tests/src/Rules/RenderCallbackRuleTest.php

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -65,27 +65,15 @@ public function fileData(): \Generator
6565
];
6666
yield [
6767
__DIR__ . '/../../fixtures/drupal/modules/pre_render_callback_rule/src/RenderArrayWithPreRenderCallback.php',
68-
[
69-
[
70-
"#pre_render value 'non-empty-string' at key '3' is invalid.",
71-
19,
72-
"Refactor concatenation of `static::class` with method name to an array callback: [static::class, 'preRenderCallback']"
73-
]
74-
]
68+
[]
7569
];
7670
yield [
7771
__DIR__ . '/../../fixtures/drupal/modules/pre_render_callback_rule/src/RenderCallbackInterfaceObject.php',
7872
[]
7973
];
8074
yield [
8175
__DIR__ . '/../../fixtures/drupal/modules/pre_render_callback_rule/src/LazyBuilderWithConstant.php',
82-
[
83-
[
84-
"#lazy_builder value 'non-empty-string' at key '0' is invalid.",
85-
25,
86-
"Refactor concatenation of `static::class` with method name to an array callback: [static::class, 'lazyBuilder']"
87-
]
88-
]
76+
[]
8977
];
9078
yield [
9179
__DIR__ . '/../../fixtures/drupal/modules/pre_render_callback_rule/src/FormWithClosure.php',

0 commit comments

Comments
 (0)