aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Controller
diff options
context:
space:
mode:
authorKevin Decherf <kevin@kdecherf.com>2017-05-21 17:01:59 +0200
committerKevin Decherf <kevin@kdecherf.com>2017-08-27 16:51:23 +0200
commit7036d91fe7332a797bf5cbccec8790bcef8437d4 (patch)
treea1ba33f445cb7156c20f2e419c4b945bee8f1100 /tests/Wallabag/ImportBundle/Controller
parent2490f61dca635026a3eb9b5e9b6978b1981b1172 (diff)
downloadwallabag-7036d91fe7332a797bf5cbccec8790bcef8437d4.tar.gz
wallabag-7036d91fe7332a797bf5cbccec8790bcef8437d4.tar.zst
wallabag-7036d91fe7332a797bf5cbccec8790bcef8437d4.zip
Tag: render tags case-insensitive by storing them in lowercase
Fixes #2502 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Diffstat (limited to 'tests/Wallabag/ImportBundle/Controller')
-rw-r--r--tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php b/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php
index 25625c35..4bc982e0 100644
--- a/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php
+++ b/tests/Wallabag/ImportBundle/Controller/WallabagV1ControllerTest.php
@@ -125,7 +125,7 @@ class WallabagV1ControllerTest extends WallabagCoreTestCase
125 125
126 $tags = $content->getTags(); 126 $tags = $content->getTags();
127 $this->assertContains('foot', $tags, 'It includes the "foot" tag'); 127 $this->assertContains('foot', $tags, 'It includes the "foot" tag');
128 $this->assertContains('Framabag', $tags, 'It includes the "Framabag" tag'); 128 $this->assertContains('framabag', $tags, 'It includes the "framabag" tag');
129 $this->assertSame(2, count($tags)); 129 $this->assertSame(2, count($tags));
130 130
131 $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt()); 131 $this->assertInstanceOf(\DateTime::class, $content->getCreatedAt());