diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-01-18 15:56:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-18 15:56:39 +0100 |
commit | 6bfbf16eeb0004fcac6d2d2507e3d7d8b4dc3c1f (patch) | |
tree | b4f38bf4a01580f5f7218440e7054688d7178e53 /tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php | |
parent | 8445ad4790ff4f3f9759f9bfa0d503ad5654e30e (diff) | |
parent | 1e0d8ad7b728f6fb2cd886526b0fb84ef803e84f (diff) | |
download | wallabag-6bfbf16eeb0004fcac6d2d2507e3d7d8b4dc3c1f.tar.gz wallabag-6bfbf16eeb0004fcac6d2d2507e3d7d8b4dc3c1f.tar.zst wallabag-6bfbf16eeb0004fcac6d2d2507e3d7d8b4dc3c1f.zip |
Merge pull request #3859 from wallabag/phpstan
Enable PHPStan
Diffstat (limited to 'tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php')
-rw-r--r-- | tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php b/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php index c67941a7..1f57939d 100644 --- a/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php | |||
@@ -127,7 +127,7 @@ class WallabagV1ControllerTest extends WallabagCoreTestCase | |||
127 | $tags = $content->getTags(); | 127 | $tags = $content->getTags(); |
128 | $this->assertContains('foot', $tags, 'It includes the "foot" tag'); | 128 | $this->assertContains('foot', $tags, 'It includes the "foot" tag'); |
129 | $this->assertContains('framabag', $tags, 'It includes the "framabag" tag'); | 129 | $this->assertContains('framabag', $tags, 'It includes the "framabag" tag'); |
130 | $this->assertSame(2, \count($tags)); | 130 | $this->assertCount(2, $tags); |
131 | 131 | ||
132 | $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt()); | 132 | $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt()); |
133 | } | 133 | } |