aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/notification_test.php')
-rw-r--r--tests/functional/notification_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/notification_test.php b/tests/functional/notification_test.php
index 91fc962846..4ca1d4b637 100644
--- a/tests/functional/notification_test.php
+++ b/tests/functional/notification_test.php
@@ -77,12 +77,12 @@ class phpbb_functional_notification_test extends phpbb_functional_test_case
$crawler = self::request('GET', 'ucp.php?i=ucp_notifications');
// At least one notification should exist
- $this->assertGreaterThan(0, $crawler->filter('#notification_list_button strong')->text());
+ $this->assertGreaterThan(0, $crawler->filter('#notification-button strong')->text());
// 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(1, $crawler->filter('#notification_list_button strong.badge.hidden'));
- $this->assertEquals("0", $crawler->filter('#notification_list_button strong.badge.hidden')->text());
+ $this->assertCount(1, $crawler->filter('#notification-button strong.badge.hidden'));
+ $this->assertEquals("0", $crawler->filter('#notification-button strong.badge.hidden')->text());
}
}