aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaviexin <javiexin@gmail.com>2016-12-10 11:41:11 +0100
committerjaviexin <javiexin@gmail.com>2016-12-10 11:41:11 +0100
commit41b3450f2f93158e6a8135657b21030eb5d6b3c9 (patch)
tree0082d4115ccc3667f796bfe2a9c471bcb133d0c8
parent959e5fb79d0a5b3cf0cd77a97bb59f1798ada46d (diff)
downloadforums-41b3450f2f93158e6a8135657b21030eb5d6b3c9.tar
forums-41b3450f2f93158e6a8135657b21030eb5d6b3c9.tar.gz
forums-41b3450f2f93158e6a8135657b21030eb5d6b3c9.tar.bz2
forums-41b3450f2f93158e6a8135657b21030eb5d6b3c9.tar.xz
forums-41b3450f2f93158e6a8135657b21030eb5d6b3c9.zip
[ticket/14855] Update notification and PM alert bubbles
Alternative implementation without removing notification from the DOM, but changing the class. So that style designers might have more options (show/not show). Fix tests. PHPBB3-14855
-rw-r--r--tests/functional/notification_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/notification_test.php b/tests/functional/notification_test.php
index d4c61cc062..da36387aa1 100644
--- a/tests/functional/notification_test.php
+++ b/tests/functional/notification_test.php
@@ -82,6 +82,6 @@ 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->assertEquals(0, $crawler->filter('#notification_list_button strong.badge.hidden')->text());
}
}