From 9d36788c9d35615de896a5cd28d7c7a66e0da3c4 Mon Sep 17 00:00:00 2001 From: Damien <damien.burel@maarch.org> Date: Wed, 24 Oct 2018 15:17:49 +0200 Subject: [PATCH] FIX autocomplete unit tests --- test/unitTests/core/AutocompleteControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unitTests/core/AutocompleteControllerTest.php b/test/unitTests/core/AutocompleteControllerTest.php index dd2b011ece6..0a1baf61e64 100644 --- a/test/unitTests/core/AutocompleteControllerTest.php +++ b/test/unitTests/core/AutocompleteControllerTest.php @@ -13,7 +13,7 @@ use PHPUnit\Framework\TestCase; class AutocompleteControllerTest extends TestCase { - public function testGetContacts() + public function testGetContactsForGroups() { $autocompleteController = new \SrcCore\controllers\AutoCompleteController(); @@ -27,7 +27,7 @@ class AutocompleteControllerTest extends TestCase ]; $fullRequest = $request->withQueryParams($aArgs); - $response = $autocompleteController->getContacts($fullRequest, new \Slim\Http\Response()); + $response = $autocompleteController->getContactsForGroups($fullRequest, new \Slim\Http\Response()); $responseBody = json_decode((string)$response->getBody()); $this->assertInternalType('array', $responseBody); -- GitLab