From 706933b4056b0d83b9dff50fae0a7d47e7893271 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Mon, 12 Dec 2016 03:27:35 +0300 Subject: [PATCH] Unused variables removed in MainControllerTest. --- .../PointToolsBundle/Tests/Controller/MainControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Tests/Controller/MainControllerTest.php b/src/Skobkin/Bundle/PointToolsBundle/Tests/Controller/MainControllerTest.php index 5158314..09c925f 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Tests/Controller/MainControllerTest.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Tests/Controller/MainControllerTest.php @@ -81,7 +81,7 @@ class MainControllerTest extends WebTestCase public function testAjaxUserAutoComplete() { $client = static::createClient(); - $crawler = $client->request('GET', '/ajax/users/search/testuser'); + $client->request('GET', '/ajax/users/search/testuser'); $this->assertTrue($client->getResponse()->headers->contains('Content-Type', 'application/json'), 'Response has "Content-Type" = "application/json"'); @@ -120,7 +120,7 @@ class MainControllerTest extends WebTestCase public function testAjaxUserAutoCompleteForNonExistingUser() { $client = static::createClient(); - $crawler = $client->request('GET', '/ajax/users/search/aksdjhaskdjhqwhdgqkjwhdgkjah'); + $client->request('GET', '/ajax/users/search/aksdjhaskdjhqwhdgqkjwhdgkjah'); $this->assertTrue($client->getResponse()->headers->contains('Content-Type', 'application/json'), 'Response has "Content-Type" = "application/json"');