Fix tests from #10985
parent
598c1c7573
commit
f2141dd3ea
|
@ -346,7 +346,7 @@ class GitHubDriverTest extends TestCase
|
||||||
* @param string $url
|
* @param string $url
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testInitializeInvalidReoUrl($url)
|
public function testInitializeInvalidRepoUrl($url)
|
||||||
{
|
{
|
||||||
$this->setExpectedException('\InvalidArgumentException');
|
$this->setExpectedException('\InvalidArgumentException');
|
||||||
|
|
||||||
|
@ -364,14 +364,14 @@ class GitHubDriverTest extends TestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return list<array{bool, string}>
|
* @return list<array{string}>
|
||||||
*/
|
*/
|
||||||
public function invalidUrlProvider()
|
public function invalidUrlProvider()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
array(false, 'https://github.com/acme'),
|
array('https://github.com/acme'),
|
||||||
array(false, 'https://github.com/acme/repository/releases'),
|
array('https://github.com/acme/repository/releases'),
|
||||||
array(false, 'https://github.com/acme/repository/pulls'),
|
array('https://github.com/acme/repository/pulls'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue