From a6c4fb2dcf6685f550c79f2aab8918c3dd5c4452 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 8 Aug 2017 10:26:35 +0200 Subject: [PATCH] Fix gitlab tests --- tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php b/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php index 66b457054..35a83a78f 100644 --- a/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php +++ b/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php @@ -189,7 +189,7 @@ JSON; { $driver = $this->testInitialize('https://gitlab.com/mygroup/myproject', 'https://gitlab.com/api/v4/projects/mygroup%2Fmyproject'); - $apiUrl = 'https://gitlab.com/api/v4/projects/mygroup%2Fmyproject/repository/tags'; + $apiUrl = 'https://gitlab.com/api/v4/projects/mygroup%2Fmyproject/repository/tags?per_page=100'; // @link http://doc.gitlab.com/ce/api/repositories.html#list-project-repository-tags $tagData = <<testInitialize('https://gitlab.com/mygroup/myproject', 'https://gitlab.com/api/v4/projects/mygroup%2Fmyproject'); - $apiUrl = 'https://gitlab.com/api/v4/projects/mygroup%2Fmyproject/repository/branches'; + $apiUrl = 'https://gitlab.com/api/v4/projects/mygroup%2Fmyproject/repository/branches?per_page=100'; // @link http://doc.gitlab.com/ce/api/repositories.html#list-project-repository-branches $branchData = <<testInitialize('https://gitlab.com/mygroup/myproject', 'https://gitlab.com/api/v4/projects/mygroup%2Fmyproject'); - $apiUrl = 'https://gitlab.com/api/v4/projects/mygroup%2Fmyproject/repository/branches'; + $apiUrl = 'https://gitlab.com/api/v4/projects/mygroup%2Fmyproject/repository/branches?per_page=100'; // @link http://doc.gitlab.com/ce/api/repositories.html#list-project-repository-branches $branchData = <<