aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/notification_test.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2016-12-11 20:11:17 +0100
committerTristan Darricau <github@nicofuma.fr>2016-12-11 20:11:17 +0100
commite40afd8cd160a5b13cba08fa1725c50a27d0f022 (patch)
tree556fd6f46e1b220cf21039c858c898460462c7e4 /tests/functional/notification_test.php
parentad3b7830b4efe732653bbb5dcef723055a591569 (diff)
parentdaae2147c867335f8af0c64b78b4c9f674eb0d27 (diff)
downloadforums-e40afd8cd160a5b13cba08fa1725c50a27d0f022.tar
forums-e40afd8cd160a5b13cba08fa1725c50a27d0f022.tar.gz
forums-e40afd8cd160a5b13cba08fa1725c50a27d0f022.tar.bz2
forums-e40afd8cd160a5b13cba08fa1725c50a27d0f022.tar.xz
forums-e40afd8cd160a5b13cba08fa1725c50a27d0f022.zip
Merge pull request #4572 from javiexin/ticket/14855
[ticket/14855] Update notification and PM alert bubbles * javiexin/ticket/14855: [ticket/14855] Update notification and PM alert bubbles [ticket/14855] Update notification and PM alert bubbles [ticket/14855] Update notification and PM alert bubbles
Diffstat (limited to 'tests/functional/notification_test.php')
-rw-r--r--tests/functional/notification_test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional/notification_test.php b/tests/functional/notification_test.php
index d4c61cc062..f21d73817a 100644
--- a/tests/functional/notification_test.php
+++ b/tests/functional/notification_test.php
@@ -82,6 +82,7 @@ class phpbb_functional_notification_test extends phpbb_functional_test_case
// Get form token
$link = $crawler->selectLink($this->lang('NOTIFICATIONS_MARK_ALL_READ'))->link()->getUri();
$crawler = self::request('GET', substr($link, strpos($link, 'ucp.')));
- $this->assertCount(0, $crawler->filter('#notification_list_button strong'));
+ $this->assertCount(1, $crawler->filter('#notification_list_button strong.badge.hidden'));
+ $this->assertEquals("0", $crawler->filter('#notification_list_button strong.badge.hidden')->text());
}
}