diff --git a/Tests/Functional/Entity/Article.php b/Tests/Functional/Entity/Article.php
index 5d295e4..922e546 100644
--- a/Tests/Functional/Entity/Article.php
+++ b/Tests/Functional/Entity/Article.php
@@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
class Article
{
/**
- * @Groups("light")
+ * @Groups({"light"})
*/
public function setAuthor(User $author)
{
diff --git a/Tests/Functional/FunctionalTest.php b/Tests/Functional/FunctionalTest.php
index f9039c0..dc87b22 100644
--- a/Tests/Functional/FunctionalTest.php
+++ b/Tests/Functional/FunctionalTest.php
@@ -14,7 +14,6 @@ namespace Nelmio\ApiDocBundle\Tests\Functional;
use EXSyst\Component\Swagger\Operation;
use EXSyst\Component\Swagger\Schema;
use EXSyst\Component\Swagger\Tag;
-use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class FunctionalTest extends WebTestCase
{
diff --git a/Tests/Functional/SwaggerUiTest.php b/Tests/Functional/SwaggerUiTest.php
index 0b17ae8..189f033 100644
--- a/Tests/Functional/SwaggerUiTest.php
+++ b/Tests/Functional/SwaggerUiTest.php
@@ -11,8 +11,6 @@
namespace Nelmio\ApiDocBundle\Tests\Functional;
-use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
-
class SwaggerUiTest extends WebTestCase
{
public function testSwaggerUi()
diff --git a/Tests/Functional/TestKernel.php b/Tests/Functional/TestKernel.php
index f1bc297..a1ec318 100644
--- a/Tests/Functional/TestKernel.php
+++ b/Tests/Functional/TestKernel.php
@@ -9,6 +9,8 @@
* file that was distributed with this source code.
*/
+namespace Nelmio\ApiDocBundle\Tests\Functional;
+
use ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle;
use Nelmio\ApiDocBundle\NelmioApiDocBundle;
use Nelmio\ApiDocBundle\Tests\Functional\TestBundle;
@@ -62,6 +64,7 @@ class TestKernel extends Kernel
'templating' => [
'engines' => ['twig'],
],
+ 'serializer' => ['enable_annotations' => true],
]);
// Filter routes
diff --git a/Tests/Functional/WebTestCase.php b/Tests/Functional/WebTestCase.php
new file mode 100644
index 0000000..af25700
--- /dev/null
+++ b/Tests/Functional/WebTestCase.php
@@ -0,0 +1,27 @@
+
-
-
-
-
.