mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 02:51:04 +00:00
Fix missing call to parent setUp
This commit is contained in:
parent
e59a43596f
commit
af6363bbbd
3 changed files with 2 additions and 10 deletions
|
@ -715,11 +715,6 @@ parameters:
|
||||||
count: 3
|
count: 3
|
||||||
path: tests/Wallabag/AnnotationBundle/Controller/AnnotationControllerTest.php
|
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$#"
|
message: "#^PHPDoc tag @var has invalid value \\(\\$loginManager \\\\FOS\\\\UserBundle\\\\Security\\\\LoginManager\\)\\: Unexpected token \"\\$loginManager\", expected type at offset 9$#"
|
||||||
count: 1
|
count: 1
|
||||||
|
@ -805,11 +800,6 @@ parameters:
|
||||||
count: 1
|
count: 1
|
||||||
path: tests/Wallabag/ApiBundle/WallabagApiTestCase.php
|
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$#"
|
message: "#^PHPDoc tag @var has invalid value \\(\\$loginManager \\\\FOS\\\\UserBundle\\\\Security\\\\LoginManager\\)\\: Unexpected token \"\\$loginManager\", expected type at offset 9$#"
|
||||||
count: 1
|
count: 1
|
||||||
|
|
|
@ -23,6 +23,7 @@ abstract class WallabagAnnotationTestCase extends WebTestCase
|
||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
|
parent::setUp();
|
||||||
$this->client = $this->createAuthorizedClient();
|
$this->client = $this->createAuthorizedClient();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ abstract class WallabagApiTestCase extends WebTestCase
|
||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
|
parent::setUp();
|
||||||
$this->client = $this->createAuthorizedClient();
|
$this->client = $this->createAuthorizedClient();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue