diff options
| author | javiexin <javiexin@gmail.com> | 2016-12-10 18:09:31 +0100 |
|---|---|---|
| committer | javiexin <javiexin@gmail.com> | 2016-12-10 18:09:31 +0100 |
| commit | daae2147c867335f8af0c64b78b4c9f674eb0d27 (patch) | |
| tree | 44be795f9b152f7250ee7ceedd60ba9dfc503322 | |
| parent | 41b3450f2f93158e6a8135657b21030eb5d6b3c9 (diff) | |
| download | forums-daae2147c867335f8af0c64b78b4c9f674eb0d27.tar forums-daae2147c867335f8af0c64b78b4c9f674eb0d27.tar.gz forums-daae2147c867335f8af0c64b78b4c9f674eb0d27.tar.bz2 forums-daae2147c867335f8af0c64b78b4c9f674eb0d27.tar.xz forums-daae2147c867335f8af0c64b78b4c9f674eb0d27.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 better.
PHPBB3-14855
| -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 da36387aa1..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->assertEquals(0, $crawler->filter('#notification_list_button strong.badge.hidden')->text()); + $this->assertCount(1, $crawler->filter('#notification_list_button strong.badge.hidden')); + $this->assertEquals("0", $crawler->filter('#notification_list_button strong.badge.hidden')->text()); } } |
