mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix warnings on higher phpunit versions
This commit is contained in:
parent
bb96b04f4a
commit
1593b67230
29 changed files with 854 additions and 143 deletions
|
@ -72,12 +72,9 @@ class GitLabTest extends TestCase
|
|||
$this->assertTrue($gitLab->authorizeOAuthInteractively('http', $this->origin, $this->message));
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException \RuntimeException
|
||||
* @expectedExceptionMessage Invalid GitLab credentials 5 times in a row, aborting.
|
||||
*/
|
||||
public function testUsernamePasswordFailure()
|
||||
{
|
||||
$this->setExpectedException('RuntimeException', 'Invalid GitLab credentials 5 times in a row, aborting.');
|
||||
$io = $this->getIOMock();
|
||||
$io
|
||||
->expects($this->exactly(5))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue