aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/feed_test.php
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2014-05-02 13:24:38 +0200
committerNicofuma <github@nicofuma.fr>2014-05-02 13:25:55 +0200
commit8812cfcfbf4ae82eb0270c268d227ba729b42107 (patch)
tree9e7252cc44d10b091333c31c79a9cb7f5f3e18f1 /tests/functional/feed_test.php
parent2bc4c0e39fcf48bb6e52588a62d9c2e883353880 (diff)
downloadforums-8812cfcfbf4ae82eb0270c268d227ba729b42107.tar
forums-8812cfcfbf4ae82eb0270c268d227ba729b42107.tar.gz
forums-8812cfcfbf4ae82eb0270c268d227ba729b42107.tar.bz2
forums-8812cfcfbf4ae82eb0270c268d227ba729b42107.tar.xz
forums-8812cfcfbf4ae82eb0270c268d227ba729b42107.zip
[ticket/12413] Update configuration's asserts
PHPBB3-12413
Diffstat (limited to 'tests/functional/feed_test.php')
-rw-r--r--tests/functional/feed_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/feed_test.php b/tests/functional/feed_test.php
index bc494d6f05..fbcbfa3943 100644
--- a/tests/functional/feed_test.php
+++ b/tests/functional/feed_test.php
@@ -51,7 +51,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
$form->setValues($values);
$crawler = self::submit($form);
- $this->assertGreaterThan(0, $crawler->filter('.successbox')->count());
+ $this->assertContainsLang('CONFIG_UPDATED', $crawler->filter('.successbox')->text());
// Special config (Guest can't see attachments)
$this->add_lang('acp/permissions');
@@ -191,7 +191,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
$form['feed_exclude_id']->select(array($this->data['forums']['Feeds #exclude']));
$crawler = self::submit($form);
- $this->assertGreaterThan(0, $crawler->filter('.successbox')->count());
+ $this->assertContainsLang('CONFIG_UPDATED', $crawler->filter('.successbox')->text());
}
public function test_feeds_empty()