Skip to content

Commit

Permalink
test: Fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Oct 21, 2023
1 parent 3831987 commit de43840
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/Console/Command/Composer/ComposerCheckVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function getConfiguration(): Configuration

return new Configuration(
'composer:check-version',
'🎵 Checks if the Composer executable used is compatible with Box',
'Checks if the Composer executable used is compatible with Box',
<<<'HELP'
The <info>%command.name%</info> command will look for the Composer binary (in the system if not configured
in the configuration file) and check if its version is compatible with Box.
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/Composer/ComposerVendorDir.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function getConfiguration(): Configuration

return new Configuration(
'composer:vendor-dir',
'🎵 Shows the Composer vendor-dir configured',
'Shows the Composer vendor-dir configured',
<<<'HELP'
The <info>%command.name%</info> command will look for the Composer binary (in the system if not configured
in the configuration file) and print the vendor-dir found.
Expand Down
27 changes: 15 additions & 12 deletions tests/Console/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,21 @@ public function test_get_helper_menu(): void
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
compile 🔨 Compiles an application into a PHAR
completion Dump the shell completion script
diff 🕵 Displays the differences between all of the files in two PHARs
docker 🐳 Generates a Dockerfile for the given PHAR
extract 🚚 Extracts a given PHAR into a directory
help Display help for a command
info 🔍 Displays information about the PHAR extension or file
list List commands
namespace Prints the first part of the command namespace
process ⚡ Applies the registered compactors and replacement values on a file
validate ⚙ Validates the configuration file
verify 🔐️ Verifies the PHAR signature
compile 🔨 Compiles an application into a PHAR
completion Dump the shell completion script
diff 🕵 Displays the differences between all of the files in two PHARs
docker 🐳 Generates a Dockerfile for the given PHAR
extract 🚚 Extracts a given PHAR into a directory
help Display help for a command
info 🔍 Displays information about the PHAR extension or file
list List commands
namespace Prints the first part of the command namespace
process ⚡ Applies the registered compactors and replacement values on a file
validate ⚙ Validates the configuration file
verify 🔐️ Verifies the PHAR signature
composer
composer:check-version Checks if the Composer executable used is compatible with Box
composer:vendor-dir Shows the Composer vendor-dir configured

EOF;

Expand Down

0 comments on commit de43840

Please sign in to comment.