Skip to content

Commit

Permalink
test: add attribute to test command
Browse files Browse the repository at this point in the history
  • Loading branch information
romm committed Feb 16, 2024
1 parent 2d6bba8 commit 7ce0ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/App/src/Console/FailingMappingCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
namespace CuyZ\ValinorBundle\Tests\App\Console;

use CuyZ\Valinor\Mapper\TreeMapper;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

#[AsCommand('test:command-with-failing-mapping')]
final class FailingMappingCommand extends Command
{
protected static $defaultName = 'test:command-with-failing-mapping';

public function __construct(private TreeMapper $mapper)
{
parent::__construct();
Expand Down

0 comments on commit 7ce0ced

Please sign in to comment.