1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 21:54:00 +02:00

[ticket/12432] Adding unit test

PHPBB3-12432
This commit is contained in:
Nicofuma
2014-04-26 12:12:51 +02:00
parent 595f831589
commit 28176b0746
2 changed files with 17 additions and 0 deletions

View File

@@ -35,6 +35,14 @@ class phpbb_dbal_migration_revert extends \phpbb\db\migration\migration
{
return array(
array('config.add', array('foobartest', 0)),
array('custom', array(array(&$this, 'my_custom_function'))),
);
}
function my_custom_function()
{
global $migrator_test_revert_counter;
$migrator_test_revert_counter += 1;
}
}