1
0
Fork 0
Commit Graph

1 Commits (f1163bdbd4684953cc7f08fe7467ea2a35cb5950)

Author SHA1 Message Date
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