1
0
Fork 0
composer/tests
Mohamed Hubail 8c5f2dbb97
Add `GlobalCommandTest.php` (#12073)
* Add `GlobalCommandTest.php`

- `testGlobal` to check `COMPOSER_HOME` is followed correctly + check
  `COMPOSER` is unset.
- `testNotCreateHome` to test handling invalid `COMPOSER_HOME`.

* Add error string for non obvious test case

* Clean up env vars and minor code style changes

---------

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-08-22 10:38:16 +02:00
..
Composer/Test Add `GlobalCommandTest.php` (#12073) 2024-08-22 10:38:16 +02:00
bootstrap.php Disable color output in tests by default to avoid issues on windows, fixes #11598 2023-08-30 15:02:59 +02:00
complete.phpunit.xml Exclude PHPStan extensions from PHPUnit coverage 2023-01-03 18:57:00 +11:00
console-application.php Fix a bunch of type errors in SelfUpdateCommand, fixes #10696, closes #10704 2022-04-06 21:35:26 +02:00