Skip to content
Snippets Groups Projects
Verified Commit 9d36788c authored by Damien's avatar Damien
Browse files

FIX autocomplete unit tests

parent 4bb0ebda
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment