Skip to content

Commit 5b18222

Browse files
committed
[Console] Fix tests
1 parent 5e305f2 commit 5b18222

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/Console/Tests/DependencyInjection/AddConsoleCommandPassTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,9 @@ class NamedCommand extends Command
314314
{
315315
}
316316

317+
#[AsCommand(name: '%cmd%|%cmdalias%', description: 'Creates a 80% discount')]
317318
class EscapedDefaultsFromPhpCommand extends Command
318319
{
319-
protected static $defaultName = '%cmd%|%cmdalias%';
320-
protected static $defaultDescription = 'Creates a 80% discount';
321320
}
322321

323322
#[AsCommand(name: '|cmdname|cmdalias', description: 'Just testing')]

0 commit comments

Comments
 (0)