1
0
Fork 0

Fix tests from #10985

pull/10996/head
Jordi Boggiano 2022-08-16 11:25:15 +02:00
parent 598c1c7573
commit f2141dd3ea
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 5 additions and 5 deletions

View File

@ -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'),
);
}