diff --git a/tests/Functional/EmbeddedShortcodeHandlerTest.php b/tests/Functional/EmbeddedShortcodeHandlerTest.php index fe1d480..0325fa4 100644 --- a/tests/Functional/EmbeddedShortcodeHandlerTest.php +++ b/tests/Functional/EmbeddedShortcodeHandlerTest.php @@ -41,7 +41,7 @@ public function expand_shortcodes_registered_in_different_ways(string $shortcode self::assertSame('test foo=bar', $this->processShortcodes("[$shortcodeName foo=bar]")); } - public function provideShortcodeNames(): Generator + public static function provideShortcodeNames(): Generator { yield 'Inline shortcode defined in bundle config' => ['test-config-inline']; yield 'ESI-based shortcode defined in bundle config' => ['test-config-esi']; @@ -62,7 +62,7 @@ public function processing_with_esi_fragments(string $shortcodeName): void self::assertStringContainsString('processShortcodes("[$shortcodeName foo=bar]", $request)); } - public function provideEsiShortcodes(): Generator + public static function provideEsiShortcodes(): Generator { yield 'ESI-based shortcode defined in bundle configuration' => ['test-config-esi']; yield 'ESI-based shortcode defined in service configuration' => ['test-service-esi'];