1
0
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:
Oliver Schramm
2016-08-11 18:11:39 +02:00
parent 52afa74f4e
commit c12d67cd90
2 changed files with 10 additions and 2 deletions

View File

@@ -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;
}
}