mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix tests from #10985
This commit is contained in:
parent
598c1c7573
commit
f2141dd3ea
1 changed files with 5 additions and 5 deletions
|
@ -346,7 +346,7 @@ class GitHubDriverTest extends TestCase
|
|||
* @param string $url
|
||||
* @return void
|
||||
*/
|
||||
public function testInitializeInvalidReoUrl($url)
|
||||
public function testInitializeInvalidRepoUrl($url)
|
||||
{
|
||||
$this->setExpectedException('\InvalidArgumentException');
|
||||
|
||||
|
@ -364,14 +364,14 @@ class GitHubDriverTest extends TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @return list<array{bool, string}>
|
||||
* @return list<array{string}>
|
||||
*/
|
||||
public function invalidUrlProvider()
|
||||
{
|
||||
return array(
|
||||
array(false, 'https://github.com/acme'),
|
||||
array(false, 'https://github.com/acme/repository/releases'),
|
||||
array(false, 'https://github.com/acme/repository/pulls'),
|
||||
array('https://github.com/acme'),
|
||||
array('https://github.com/acme/repository/releases'),
|
||||
array('https://github.com/acme/repository/pulls'),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue