1
0
Fork 0
composer/tests/Composer/Test
Robert Rhoades e6c7ab693e Fix running tests with non standard default branch
When the global git config has init.defaultbranch set to
something other than master the tests fail. This is because
the tests assume that the default branch is called master
but that may not be the case.

This fixes the tests by ensuring that when running git init
we ensure the default branch is called master regardless of
how git is configured.
2020-10-29 21:16:11 +00:00
..
Autoload Merge branch 'master' into code-improvements 2020-10-13 12:23:13 +02:00
Command Fix build 2020-02-11 11:41:31 +01:00
Config Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
Console PHPStan fixes 2020-02-07 23:10:10 +01:00
DependencyResolver Make sure Transaction sorts operations correctly to begin with 2020-10-25 14:06:45 +01:00
Downloader Add test to check processed URL and cache key 2020-10-15 23:46:12 -04:00
EventDispatcher Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00
Fixtures Fix lock file generation with dev-master aliases to be compatible with Composer 1, fixes #9337 2020-10-27 20:50:26 +01:00
IO Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00
Installer Remove OperationInterface::getReason, closes #9230, closes #9263 2020-10-12 12:31:54 +02:00
Json Merged isset, unset and str_replace calls 2020-09-26 00:55:19 +02:00
Mock Fix tests 2020-10-27 14:04:36 +01:00
Package Fix running tests with non standard default branch 2020-10-29 21:16:11 +00:00
Platform Move Version util to Platform namespace, fix CS nitpicks, make regexes case insensitive for robustness, refs #9093 2020-08-13 15:48:41 +02:00
Plugin Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00
Question Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00
Repository Fix running tests with non standard default branch 2020-10-29 21:16:11 +00:00
Script Fix indenting 2019-07-29 16:44:50 +02:00
Util Improve proxy error messages for streams 2020-10-24 18:20:31 +01:00
AllFunctionalTest.php Fix usage of create-project with local filesystem repos 2020-07-17 11:30:03 +02:00
ApplicationTest.php do not use env 2020-02-07 13:07:01 +08:00
CacheTest.php Fix more warnings 2020-09-11 11:32:09 +02:00
ComposerTest.php Add parallel download capability to FileDownloader and derivatives 2019-01-18 08:39:03 +01:00
ConfigTest.php fix risky tests (without any assertion) 2020-02-07 14:35:07 +08:00
DefaultConfigTest.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
FactoryTest.php Fix factory test 2019-01-14 17:29:23 +01:00
InstalledVersionsTest.php Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions 2020-04-22 12:10:09 +02:00
InstallerTest.php Move slow integration test to separate fixtures directory and add to slow group 2020-10-22 10:14:17 +02:00
PolyfillTestCase.php Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00
TestCase.php Fix warnings on higher phpunit versions 2020-09-11 11:01:32 +02:00