1
0
Fork 0
Commit Graph

45 Commits (0234b1381721e960f79f1523fb5e99c3235131ad)

Author SHA1 Message Date
Jordi Boggiano 9cab8c10cc
Merge branch 'master' into 2.0 2020-02-28 13:31:56 +01:00
Ion Bazan a2137d5263 use Symfony PHPUnit Bridge 2020-02-07 12:22:22 +08:00
Jordi Boggiano 4a7d42604f
Fix tests 2020-01-14 16:27:16 +01:00
Jordi Boggiano a5b178084c
Merge branch 'master' into 2.0 2020-01-14 15:39:35 +01:00
Stephan Vock 731d94a2a3 VcsRepositories: mark archived repositories as abandoned 2020-01-04 17:01:27 +00:00
Jordi Boggiano f946d8eb5a More RemoteFilesystem usage removals and some repository/vcs driver refactorings 2019-01-14 17:29:23 +01:00
Jordi Boggiano 713bc4de1d Minor fixes and updated the rest of the code/tests to use HttpDownloader 2019-01-14 17:29:23 +01:00
Gabriel Caruso 2a13bb2649 Fixes from PHPStan (#7687)
* fix docblocks

* remove redundant conditional

* fix wrong variable name

* fix wrong namespaces

* add missing private members

* remove unused/redundant arguments

* move testcase class

* exclude TestCase.php

* Tweak RuleWatchGraph type hints

* Tweak doc comment
2018-11-12 15:23:32 +01:00
Jordi Boggiano 066351c5b9 Remove use of deprecated getMock method 2018-04-12 10:24:56 +02:00
Rob Bast dc2f201152 add trailing / and updated diagnose command 2016-02-24 20:54:01 +01:00
Rob Bast 4d975c49aa fix mocks 2016-02-24 20:30:10 +01:00
Rob Bast adf3b956d0 try to use unique test directories
any tests that use the filesystem should have their own unique directory, as we run our test suite in parallel and
cleanup of tests (removing directories) should not interfere with currently running tests
2016-01-26 09:41:21 +01:00
Jordi Boggiano 52d290f5f2 trim token just in case and update tests 2015-05-07 00:37:08 +01:00
Rob Bast a34335a9bb github deprecation changes
- added some tests
- minor bug fixes discovered during testing
- resolved two deprecations (rate limit api and authorizations api)
- added some more comments to make the flow more understandable
2015-02-11 10:18:47 +01:00
Jordi Boggiano d5294ef91b Update repo url from github and handle trailing slashes, refs composer/packagist#354 refs composer/packagist#423 2014-07-19 18:40:01 +02:00
Jordi Boggiano 90d1b6e08a Rename basic-auth to http-basic, add docs/schema/config support, add local auth file support, add storage to auth.json, add store-auths config option, refs #1862 2014-05-27 13:50:47 +02:00
Jordi Boggiano 0d4c2bb7d7 Fix github test 2014-02-26 17:38:58 +01:00
Nils Adermann 1ccf4b0fc3 Correct the tests for dist urls for github 2014-02-24 19:51:03 +01:00
Jordi Boggiano d017e3f209 Adjust GitDriver tag parsing to resolve to SHAs 2013-08-19 01:21:45 +02:00
Jordi Boggiano e0051a4652 Update tests 2013-08-18 23:03:48 +02:00
Jordi Boggiano 259a25344d Use the api to get file contents instead of raw.github.com
raw.github does not like the access_token query param
2013-02-27 14:10:28 +01:00
Jordi Boggiano 80c18db694 Fix tests 2013-02-13 12:59:16 +01:00
Jordi Boggiano 432955e0ae Fix github url escaping, raw.github.com doesnt like escaped slashes 2013-02-11 09:34:50 +01:00
Jordi Boggiano 224934831d Change all github archive URLs to API URLs and handle fallback for those to nodeload 2012-12-05 19:20:52 +01:00
Chris Smith e3838bbc1f Update tests to expect correct URLs for private dist downloads 2012-12-05 18:55:25 +01:00
Jordi Boggiano 487e66d0a9 Allow loading of multiple composer autoloaders concurrently, fixes #1248 2012-11-10 21:54:23 +01:00
Igor Wiedler 4959c2bdc6 Replace references of a11n with a12n where appropriate
Authorization => Authentication.
2012-11-07 13:34:31 +01:00
Jordi Boggiano 1682532b80 Update code to use new github archive URLs 2012-11-04 14:01:22 +01:00
Jordi Boggiano bebd1ce9c7 Always check for OAuth token in git config, fixes #1243 2012-10-22 17:11:34 +02:00
Jordi Boggiano 0a3097c569 Merge remote-tracking branch 'bboer/feature/svn-alternative-structures'
Conflicts:
	src/Composer/Repository/Vcs/GitHubDriver.php
2012-10-19 12:19:19 +02:00
Jordi Boggiano e0ce22f7cc Fix tests 2012-10-18 18:43:31 +02:00
bboer 00361e0087 Fixed tests 2012-08-31 08:12:20 +02:00
Jordi Boggiano f08c748658 Fix tests, fix handling of branches with slashes in GitDriver, fixes #935 2012-08-24 02:06:25 +02:00
Sebastiaan Stok 9270904765 fixed issue #992 - branch name not properly escaped 2012-08-10 11:43:37 +02:00
Jordi Boggiano 656feda837 Revert previous change, use GIT_ASKPASS env var instead 2012-06-27 18:28:49 +02:00
Jordi Boggiano b4622885de Fix tests with openssl disabled 2012-05-31 16:03:25 +02:00
Jordi Boggiano 4505df29df Add functional tests for the installer, fixes #580 2012-05-13 21:42:43 +02:00
Jordi Boggiano 7bfe031768 VcsDrivers now send proper originUrl for authentication 2012-05-06 17:18:26 +02:00
Jordi Boggiano 6967ec16b3 Add slow tests to slow group, excluded by default except for travis 2012-05-06 15:10:13 +02:00
Jerome Tamarelle 610f15a768 Fix unit tests for VcsRepository 2012-04-27 11:03:57 +02:00
Jordi Boggiano 91890545f9 Fix test 2012-04-03 00:38:38 +02:00
Jordi Boggiano 2249dd0548 Fix tests when openssl is disabled 2012-03-18 13:05:20 +01:00
Jordi Boggiano d5891fe8d0 Fix test 2012-03-15 18:32:31 +01:00
Beau Simensen 38680998ed Remove the RemoteFilesystem factory and document GitHubDriver->GitDriver fallback. 2012-03-14 18:44:27 -07:00
Beau Simensen 6efbc7d531 Enhanced GitHub API/Private Repository support 2012-03-09 23:49:21 -08:00