aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2020-04-22 15:12:37 +0200
committerGitHub <noreply@github.com>2020-04-22 15:12:37 +0200
commit6bd8f626e4a87a500e7d7904916dc593052d49c9 (patch)
tree6faafc4516d7b984659968f5cdbf3f88f01dca94 /tests
parentb367534991cffe583b227aed1bad2de607266f8f (diff)
parent01f8a776a49882dc1d1bb612b7f396d66400fa4b (diff)
downloadwallabag-6bd8f626e4a87a500e7d7904916dc593052d49c9.tar.gz
wallabag-6bd8f626e4a87a500e7d7904916dc593052d49c9.tar.zst
wallabag-6bd8f626e4a87a500e7d7904916dc593052d49c9.zip
Merge pull request #4347 from wallabag/article-stats-grey
🎨 Changed visibility for article stats
Diffstat (limited to 'tests')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
index 8960dd25..b5655f71 100644
--- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
@@ -527,7 +527,7 @@ class EntryControllerTest extends WallabagCoreTestCase
527 527
528 $this->assertGreaterThan(1, $title = $crawler->filter('div[id=article] h1')->extract(['_text'])); 528 $this->assertGreaterThan(1, $title = $crawler->filter('div[id=article] h1')->extract(['_text']));
529 $this->assertContains('My updated title hehe :)', $title[0]); 529 $this->assertContains('My updated title hehe :)', $title[0]);
530 $this->assertGreaterThan(1, $stats = $crawler->filter('div[class=tools] ul[class=stats] li a[class=tool]')->extract(['_text'])); 530 $this->assertGreaterThan(1, $stats = $crawler->filter('div[class="tools grey-text"] ul[class=stats] li a[class="tool grey-text"]')->extract(['_text']));
531 $this->assertContains('example.io', trim($stats[1])); 531 $this->assertContains('example.io', trim($stats[1]));
532 } 532 }
533 533
@@ -562,7 +562,7 @@ class EntryControllerTest extends WallabagCoreTestCase
562 $this->assertGreaterThan(1, $title); 562 $this->assertGreaterThan(1, $title);
563 $this->assertContains('My updated title hehe :)', $title[0]); 563 $this->assertContains('My updated title hehe :)', $title[0]);
564 564
565 $stats = $crawler->filter('div[class=tools] ul[class=stats] li a[class=tool]')->extract(['_text']); 565 $stats = $crawler->filter('div[class="tools grey-text"] ul[class=stats] li a[class="tool grey-text"]')->extract(['_text']);
566 $this->assertCount(1, $stats); 566 $this->assertCount(1, $stats);
567 $this->assertNotContains('example.io', trim($stats[0])); 567 $this->assertNotContains('example.io', trim($stats[0]));
568 } 568 }