diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2017-11-19 15:26:13 +0100 |
---|---|---|
committer | Kevin Decherf <kevin@kdecherf.com> | 2017-11-19 15:26:13 +0100 |
commit | eae8138b33e4ed4a5d1a98daf77941ef691629de (patch) | |
tree | 1f42a4b00000f16292ec76acae406edcc13c75cd /tests/Wallabag/CoreBundle/Controller | |
parent | 65152fcb899e1d073847718e2f7847180fa26a40 (diff) | |
download | wallabag-eae8138b33e4ed4a5d1a98daf77941ef691629de.tar.gz wallabag-eae8138b33e4ed4a5d1a98daf77941ef691629de.tar.zst wallabag-eae8138b33e4ed4a5d1a98daf77941ef691629de.zip |
Fix phpcs
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index e2fb8d78..c6a523e3 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | |||
@@ -519,7 +519,7 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
519 | 519 | ||
520 | $this->assertGreaterThan(1, $title = $crawler->filter('div[id=article] h1')->extract(['_text'])); | 520 | $this->assertGreaterThan(1, $title = $crawler->filter('div[id=article] h1')->extract(['_text'])); |
521 | $this->assertContains('My updated title hehe :)', $title[0]); | 521 | $this->assertContains('My updated title hehe :)', $title[0]); |
522 | $this->assertSame(1, sizeof($stats = $crawler->filter('div[class=tools] ul[class=stats] li a[class=tool]')->extract(['_text']))); | 522 | $this->assertSame(1, count($stats = $crawler->filter('div[class=tools] ul[class=stats] li a[class=tool]')->extract(['_text']))); |
523 | $this->assertNotContains('example.io', trim($stats[0])); | 523 | $this->assertNotContains('example.io', trim($stats[0])); |
524 | } | 524 | } |
525 | 525 | ||