aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/extension_acp_test.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-12 11:38:14 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-12 11:38:14 +0200
commitb3eb38ecaf0e3b5d33788bc70c152a9544974b13 (patch)
tree4faa0913b8eb9a3147194b5c4def37f5cbbc53c1 /tests/functional/extension_acp_test.php
parent0c6ef9aabfb45f6fbf106da9a194c561f2bd2ecc (diff)
downloadforums-b3eb38ecaf0e3b5d33788bc70c152a9544974b13.tar
forums-b3eb38ecaf0e3b5d33788bc70c152a9544974b13.tar.gz
forums-b3eb38ecaf0e3b5d33788bc70c152a9544974b13.tar.bz2
forums-b3eb38ecaf0e3b5d33788bc70c152a9544974b13.tar.xz
forums-b3eb38ecaf0e3b5d33788bc70c152a9544974b13.zip
[ticket/12534] Fix filter for functional tests
PHPBB3-12534
Diffstat (limited to 'tests/functional/extension_acp_test.php')
-rw-r--r--tests/functional/extension_acp_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/extension_acp_test.php b/tests/functional/extension_acp_test.php
index 5f02158e20..8a724f2133 100644
--- a/tests/functional/extension_acp_test.php
+++ b/tests/functional/extension_acp_test.php
@@ -157,7 +157,7 @@ class phpbb_functional_extension_acp_test extends phpbb_functional_test_case
$this->assertContainsLang('EXTENSION_ACTIONS', $crawler->filter('div.main thead')->text());
$crawler = self::request('GET', 'adm/index.php?i=acp_extensions&mode=main&action=enable_pre&ext_name=vendor%2Fmoo&sid=' . $this->sid);
- $this->assertContains($this->lang('EXTENSION_ENABLE_CONFIRM', 'phpBB Moo Extension'), $crawler->filter('.errorbox')->text());
+ $this->assertContains($this->lang('EXTENSION_ENABLE_CONFIRM', 'phpBB Moo Extension'), $crawler->filter('#main')->text());
}
public function test_disable_pre()
@@ -169,7 +169,7 @@ class phpbb_functional_extension_acp_test extends phpbb_functional_test_case
$this->assertContainsLang('EXTENSION_ACTIONS', $crawler->filter('div.main thead')->text());
$crawler = self::request('GET', 'adm/index.php?i=acp_extensions&mode=main&action=disable_pre&ext_name=vendor2%2Ffoo&sid=' . $this->sid);
- $this->assertContains($this->lang('EXTENSION_DISABLE_CONFIRM', 'phpBB Foo Extension'), $crawler->filter('.errorbox')->text());
+ $this->assertContains($this->lang('EXTENSION_DISABLE_CONFIRM', 'phpBB Foo Extension'), $crawler->filter('#main')->text());
}
public function test_delete_data_pre()