mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/14742] Add test for (not) reverting if
PHPBB3-14742
This commit is contained in:
@@ -36,13 +36,13 @@ class phpbb_dbal_migration_if extends \phpbb\db\migration\migration
|
||||
{
|
||||
global $migrator_test_if_true_failed;
|
||||
|
||||
$migrator_test_if_true_failed = false;
|
||||
$migrator_test_if_true_failed = !$migrator_test_if_true_failed;
|
||||
}
|
||||
|
||||
function test_false()
|
||||
{
|
||||
global $migrator_test_if_false_failed;
|
||||
|
||||
$migrator_test_if_false_failed = true;
|
||||
$migrator_test_if_false_failed = !$migrator_test_if_false_failed;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user