From 263b58ffc05767b499c3f26d5f24bdd00195ff4b Mon Sep 17 00:00:00 2001 From: efalcy <efalcy@afi-sa.fr> Date: Tue, 26 May 2020 11:56:51 +0200 Subject: [PATCH] fix test failure on version tag --- .../modules/admin/controllers/IndexControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/application/modules/admin/controllers/IndexControllerTest.php b/tests/application/modules/admin/controllers/IndexControllerTest.php index 04284ea713e..b5bceb07d65 100644 --- a/tests/application/modules/admin/controllers/IndexControllerTest.php +++ b/tests/application/modules/admin/controllers/IndexControllerTest.php @@ -72,7 +72,7 @@ class Admin_IndexControllerTest extends Admin_IndexControllerTestCase { $mock_http = $this->mock() ->whenCalled('open_url') - ->with('https://git.afi-sa.net/api/v4/projects/4/repository/tags?per_page=1&order_by=updated&sort=desc') + ->with('https://git.afi-sa.net/api/v4/projects/4/repository/tags?per_page=5&order_by=updated&sort=desc') ->answers('[{"name":"' . $this->_next_version . '"}]'); Class_WebService_SimpleWebClient::setInstance($mock_http); -- GitLab