diff --git a/tests/DependencyInjection/Compiler/ShortcodeCompilerPassTest.php b/tests/DependencyInjection/Compiler/ShortcodeCompilerPassTest.php index cad3925..845e8f9 100644 --- a/tests/DependencyInjection/Compiler/ShortcodeCompilerPassTest.php +++ b/tests/DependencyInjection/Compiler/ShortcodeCompilerPassTest.php @@ -51,6 +51,7 @@ public function tagged_services_are_added_as_handlers_to_handler_container(): vo ->with('add', $this->callback(function (array $argument) { static $count = 0; ++$count; + return 'shortcode'.$count === $argument[0] && $argument[1] instanceof Reference; }));