diff options
author | Tristan Darricau <github@nicofuma.fr> | 2016-12-11 20:16:25 +0100 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2016-12-11 20:16:25 +0100 |
commit | 0cf85c047e848a75df236c4617b449498627dccc (patch) | |
tree | 03fd4b002033970e5bf4d2d36be440d042df69a3 /tests/functional/notification_test.php | |
parent | 27df2278ef7fbc3ce28d6926b1a57f2fd232e2db (diff) | |
parent | e40afd8cd160a5b13cba08fa1725c50a27d0f022 (diff) | |
download | forums-0cf85c047e848a75df236c4617b449498627dccc.tar forums-0cf85c047e848a75df236c4617b449498627dccc.tar.gz forums-0cf85c047e848a75df236c4617b449498627dccc.tar.bz2 forums-0cf85c047e848a75df236c4617b449498627dccc.tar.xz forums-0cf85c047e848a75df236c4617b449498627dccc.zip |
Merge branch '3.1.x' into 3.2.x
* 3.1.x:
[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.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional/notification_test.php b/tests/functional/notification_test.php index 8751de8016..91fc962846 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()); } } |