1
0
Fork 0
composer/tests/Composer/Test
Mohamed Hubail dca85cc940
Add "require command with conflicting keys" test (#12072)
* Add test case for conflicting both with `--dev` and without

* Implement interactive case

* Restrcture so that interactive case is actually interactive

I don't know why specifying `'--no-interaction' => !$isInteractive,`
didn't give the desired behavior of the prompt being interactive.

You can verify that by printing the `$appTester->getDisplay()` which
doesn't contain a prompt.  In fact, it doesn't make any difference
whether I set it to true or false.  The only difference is if I set it
or don't set it.

* Fix dreaded trainling comma
2024-08-22 10:27:58 +02:00
..
Advisory PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Autoload PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Command Add "require command with conflicting keys" test (#12072) 2024-08-22 10:27:58 +02:00
Config PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Console PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
DependencyResolver Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
Downloader Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
EventDispatcher PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Filter/PlatformRequirementFilter PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Fixtures Fix addressability of branches containing # characters (#12042) 2024-07-25 16:46:57 +02:00
IO Fix typo for IO tests (#12027) 2024-07-02 00:30:29 +02:00
Installer Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
Json PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Mock Update PHPStan (#11976) 2024-05-22 09:09:04 +02:00
Package Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
Platform [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
Plugin PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Question PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Repository Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
Script PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Util Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
AllFunctionalTest.php Update phpstan and add composer/pcre extensions (#12045) 2024-07-25 16:28:25 +02:00
ApplicationTest.php PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
CacheTest.php PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
CompletionFunctionalTest.php PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
ComposerTest.php PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
ConfigTest.php Fix secure-http check to avoid bypass using emojis 2024-06-10 14:48:02 +02:00
DefaultConfigTest.php PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
DocumentationTest.php Add support for Application::setCatchErrors in symfony 6.4+, refs symfony/symfony#50420 2023-07-28 19:33:33 +02:00
FactoryTest.php Enable strict types on all files 2022-02-24 13:24:34 +01:00
InstalledVersionsTest.php PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
InstallerTest.php Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
TestCase.php Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00