aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-11-03 20:30:09 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-11-08 01:20:03 +0100
commitd17bf9aa273d8cd3dfb730b506f7aac2bd51a97a (patch)
treed18a82be06188bf657387598527d743692fcb03f
parent12a6e2c603846db0054e27494429292316b209db (diff)
downloadforums-d17bf9aa273d8cd3dfb730b506f7aac2bd51a97a.tar
forums-d17bf9aa273d8cd3dfb730b506f7aac2bd51a97a.tar.gz
forums-d17bf9aa273d8cd3dfb730b506f7aac2bd51a97a.tar.bz2
forums-d17bf9aa273d8cd3dfb730b506f7aac2bd51a97a.tar.xz
forums-d17bf9aa273d8cd3dfb730b506f7aac2bd51a97a.zip
[ticket/11994] "Delete data" is only available for disabled extensions
PHPBB3-11994
-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 7db0067499..0cd03d8ccb 100644
--- a/tests/functional/extension_acp_test.php
+++ b/tests/functional/extension_acp_test.php
@@ -170,8 +170,8 @@ class phpbb_functional_extension_acp_test extends phpbb_functional_test_case
$crawler = self::request('GET', 'adm/index.php?i=acp_extensions&mode=main&action=delete_data_pre&ext_name=test2&sid=' . $this->sid);
$this->assertContains('The required file does not exist', $crawler->filter('.errorbox')->text());
- $crawler = self::request('GET', 'adm/index.php?i=acp_extensions&mode=main&action=delete_data_pre&ext_name=foo&sid=' . $this->sid);
- $this->assertContains($this->lang('EXTENSION_DELETE_DATA_CONFIRM', 'phpBB Foo Extension'), $crawler->filter('.errorbox')->text());
+ $crawler = self::request('GET', 'adm/index.php?i=acp_extensions&mode=main&action=delete_data_pre&ext_name=vendor%2Fmoo&sid=' . $this->sid);
+ $this->assertContains($this->lang('EXTENSION_DELETE_DATA_CONFIRM', 'phpBB Moo Extension'), $crawler->filter('.errorbox')->text());
}
public function test_actions()