Fix missing call to parent setUp

This commit is contained in:
Yassine Guedidi 2022-08-01 07:38:50 +01:00 committed by Jeremy Benoist
parent e59a43596f
commit af6363bbbd
No known key found for this signature in database
GPG key ID: 7168D5DD29F38552
3 changed files with 2 additions and 10 deletions

View file

@ -715,11 +715,6 @@ parameters:
count: 3
path: tests/Wallabag/AnnotationBundle/Controller/AnnotationControllerTest.php
-
message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#"
count: 1
path: tests/Wallabag/AnnotationBundle/WallabagAnnotationTestCase.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\$loginManager \\\\FOS\\\\UserBundle\\\\Security\\\\LoginManager\\)\\: Unexpected token \"\\$loginManager\", expected type at offset 9$#"
count: 1
@ -805,11 +800,6 @@ parameters:
count: 1
path: tests/Wallabag/ApiBundle/WallabagApiTestCase.php
-
message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#"
count: 1
path: tests/Wallabag/ApiBundle/WallabagApiTestCase.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\$loginManager \\\\FOS\\\\UserBundle\\\\Security\\\\LoginManager\\)\\: Unexpected token \"\\$loginManager\", expected type at offset 9$#"
count: 1

View file

@ -23,6 +23,7 @@ abstract class WallabagAnnotationTestCase extends WebTestCase
protected function setUp(): void
{
parent::setUp();
$this->client = $this->createAuthorizedClient();
}

View file

@ -25,6 +25,7 @@ abstract class WallabagApiTestCase extends WebTestCase
protected function setUp(): void
{
parent::setUp();
$this->client = $this->createAuthorizedClient();
}