diff --git a/Tests/Functional/UseCasesTest.php b/Tests/Functional/UseCasesTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Functional/UseCasesTest.php
+++ b/Tests/Functional/UseCasesTest.php
@@ -14,6 +14,7 @@ use Interop\Queue\PsrMessage;
 use Interop\Queue\PsrQueue;
 use Symfony\Component\Console\Tester\CommandTester;
 use Symfony\Component\Filesystem\Filesystem;
+use Symfony\Component\HttpKernel\Kernel;
 
 /**
  * @group functional
@@ -92,11 +93,14 @@ class UseCasesTest extends WebTestCase
             ],
         ]];
 
-        yield 'default_dsn_as_env' => [[
-            'transport' => [
-                'default' => '%env(AMQP_DSN)%',
-            ],
-        ]];
+        // Symfony 2.x does not such env syntax
+        if (version_compare(Kernel::VERSION, '3.2', '>=')) {
+            yield 'default_dsn_as_env' => [[
+                'transport' => [
+                    'default' => '%env(AMQP_DSN)%',
+                ],
+            ]];
+        }
 
         yield 'default_dbal_as_dsn' => [[
             'transport' => [
revert sf version check