mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
GitLab: add warning in case GitLab authentication is misconfigured
This commit is contained in:
parent
89721ab322
commit
d40c3a89c0
1 changed files with 6 additions and 0 deletions
|
@ -474,6 +474,9 @@ class AuthHelperTest extends TestCase
|
|||
$this->authHelper->storeAuth($origin, $storeAuth);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function testStoreAuthWithPromptInvalidAnswer()
|
||||
{
|
||||
$this->setExpectedException('RuntimeException');
|
||||
|
@ -514,6 +517,9 @@ class AuthHelperTest extends TestCase
|
|||
$this->authHelper->storeAuth($origin, $storeAuth);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function testPromptAuthIfNeededGitLabNoAuthChange()
|
||||
{
|
||||
$this->setExpectedException('Composer\Downloader\TransportException');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue