From ea15b879f127f3d121d8e78ae01457b43b702e58 Mon Sep 17 00:00:00 2001 From: Nicofuma Date: Sat, 26 Apr 2014 18:54:47 +0200 Subject: [PATCH] [ticket/12432] Correcting the assertion PHPBB3-12432 --- tests/dbal/migrator_test.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/dbal/migrator_test.php b/tests/dbal/migrator_test.php index d1e12e5b2e..cc3e92071f 100644 --- a/tests/dbal/migrator_test.php +++ b/tests/dbal/migrator_test.php @@ -224,10 +224,7 @@ class phpbb_dbal_migrator_test extends phpbb_database_test_case $this->fail('Revert did not remove test_column.'); } - if ($migrator_test_revert_counter != 1) - { - $this->fail('Revert did not recall the customs functions.'); - } + $this->assertEquals(1, $migrator_test_revert_counter, 'Revert did call custom function again'); } public function test_fail()