1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-20 23:51:28 +01:00

[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
This commit is contained in:
javiexin 2016-12-10 11:41:11 +01:00
parent 959e5fb79d
commit 41b3450f2f

View File

@ -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());
}
}