aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2017-12-24 19:55:46 +0100
committerOliver Schramm <oliver.schramm97@gmail.com>2017-12-24 19:55:46 +0100
commit1702219629b6ec73b8a2a07a9ba072e9bdeb4360 (patch)
treed1933956a5b3929c027e85d3299ed21f87505630 /tests/dbal
parentMerge branch 'ticket/15339' into ticket/15339-33 (diff)
parent[ticket/15339] Fix tests (diff)
downloadphpbb-1702219629b6ec73b8a2a07a9ba072e9bdeb4360.tar.gz
phpbb-1702219629b6ec73b8a2a07a9ba072e9bdeb4360.tar.bz2
phpbb-1702219629b6ec73b8a2a07a9ba072e9bdeb4360.zip
Merge branch 'ticket/15339' into ticket/15339-33
Diffstat (limited to 'tests/dbal')
-rw-r--r--tests/dbal/migrator_tool_module_test.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/dbal/migrator_tool_module_test.php b/tests/dbal/migrator_tool_module_test.php
index a910c0acf5..12fb09d21a 100644
--- a/tests/dbal/migrator_tool_module_test.php
+++ b/tests/dbal/migrator_tool_module_test.php
@@ -195,25 +195,6 @@ class phpbb_dbal_migrator_tool_module_test extends phpbb_database_test_case
// Test adding module when plural parent module_langname exists
// PHPBB3-14703
- // Adding fail
- try
- {
- $this->tool->add('acp', 'ACP_FORUM_BASED_PERMISSIONS', array(
- 'module_basename' => 'acp_new_permissions_module',
- 'module_langname' => 'ACP_NEW_PERMISSIONS_MODULE',
- 'module_mode' => 'test',
- 'module_auth' => '',
- ));
- $this->fail('Exception not thrown');
- }
- catch (Exception $e)
- {
- $this->assertEquals('phpbb\db\migration\exception', get_class($e));
- $this->assertEquals('MODULE_EXIST_MULTIPLE', $e->getMessage());
- }
-
- // Test adding module when plural parent module_langname exists
- // PHPBB3-14703
// Adding success
try
{