@@ -17,7 +17,6 @@ |
||
17 | 17 | use ONGR\ElasticsearchBundle\ORM\Manager; |
18 | 18 | use ONGR\SettingsBundle\Document\Setting; |
19 | 19 | use ONGR\SettingsBundle\Event\SettingChangeEvent; |
20 | -use Exception; |
|
21 | 20 | |
22 | 21 | /** |
23 | 22 | * Class SettingsManager responsible for managing settings actions. |
@@ -79,7 +79,7 @@ |
||
79 | 79 | if ($shouldSucceed) { |
80 | 80 | $this->assertContains(' already logged in', $response->getContent()); |
81 | 81 | |
82 | - // Assert correct cookie has been set. |
|
82 | + // Assert correct cookie has been set. |
|
83 | 83 | /** @var Cookie $cookie */ |
84 | 84 | $cookie = $client->getCookieJar()->get('ongr_settings_user_auth'); |
85 | 85 | $this->assertSame('ongr_settings_user_auth', $cookie->getName()); |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; |
17 | 17 | use ONGR\ElasticsearchBundle\Service\Manager; |
18 | 18 | use ONGR\ElasticsearchDSL\Query\MatchAllQuery; |
19 | -use Symfony\Component\Translation\TranslatorInterface; |
|
20 | 19 | use Symfony\Component\DependencyInjection\ContainerInterface; |
21 | 20 | |
22 | 21 | /** |