Skip to content

Commit 46f2c0f

Browse files
committed
fix: Symfony deprecation
1 parent c952d06 commit 46f2c0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/CommandTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
$browser = new HttpBrowser($client);
3737

3838
$application = new Application;
39-
$application->add(new RetrieveCommand($browser));
39+
$application->addCommand(new RetrieveCommand($browser));
4040

4141
$command = $application->find('tse-id:retrieve');
4242

@@ -62,7 +62,7 @@
6262
$browser = new HttpBrowser($client);
6363

6464
$application = new Application;
65-
$application->add(new RetrieveCommand($browser));
65+
$application->addCommand(new RetrieveCommand($browser));
6666

6767
$command = $application->find('tse-id:retrieve');
6868
$tester = new CommandTester($command);
@@ -108,7 +108,7 @@
108108
$browser = new HttpBrowser($client);
109109

110110
$app = new Application;
111-
$app->add(new RetrieveCommand($browser));
111+
$app->addCommand(new RetrieveCommand($browser));
112112

113113
$command = $app->find('tse-id:retrieve');
114114
$tester = new CommandTester($command);

0 commit comments

Comments
 (0)