From f2141dd3ea419745319ce3ac4ebdf583fef22e31 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 16 Aug 2022 11:25:15 +0200 Subject: [PATCH] Fix tests from #10985 --- .../Composer/Test/Repository/Vcs/GitHubDriverTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php b/tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php index 4bd45ab40..58b9f7482 100644 --- a/tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php +++ b/tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php @@ -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 + * @return list */ 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'), ); }