1
0
Fork 0
composer/tests/Composer/Test/Downloader
user a956ce9bb1 Use 'cache-files-ttl' for cache gc, fixes #2441
The configuration option 'cache-ttl' was used instead of 'cache-files-ttl' to determine
whether or not a cache gc should be performed.

* changed 'cache-ttl' to 'cache-files-ttl' to determine if a gc should be performed
* refactored FileDownloader to allow for easier testing
* added test to ensure that the gc is called with the proper config option
2013-11-24 10:55:25 +01:00
..
Fixtures Update PEAR Package Extractor to use 'task:replace', 'phprelease' commands and install role='script' files 2012-07-03 19:18:58 +11:00
ArchiveDownloaderTest.php Oops 2013-07-05 00:47:18 +02:00
DownloadManagerTest.php Fix DownloadManagerTest creating directories on disk 2012-04-27 11:21:58 +02:00
FileDownloaderTest.php Use 'cache-files-ttl' for cache gc, fixes #2441 2013-11-24 10:55:25 +01:00
GitDownloaderTest.php Add github-domains config value for GitHub Enterprise setups, fixes #728 2013-10-28 12:40:20 -04:00
HgDownloaderTest.php Attempt to fix travis build 2013-07-26 15:44:52 +02:00
PearPackageExtractorTest.php Update PEAR Package Extractor to use 'task:replace', 'phprelease' commands and install role='script' files 2012-07-03 19:18:58 +11:00
PerforceDownloaderTest.php Fix cs 2013-10-19 17:59:56 +02:00
ZipDownloaderTest.php Retry downloading when a corrupt zip is found, fixes #2133, fixes #2128, fixes #2125 2013-07-31 20:33:20 +02:00