diff options
author | Nicofuma <github@nicofuma.fr> | 2014-04-26 18:54:47 +0200 |
---|---|---|
committer | Nicofuma <github@nicofuma.fr> | 2014-04-26 18:54:47 +0200 |
commit | ea15b879f127f3d121d8e78ae01457b43b702e58 (patch) | |
tree | b411143cc54002e0299be2c172975f0280f032a8 /tests | |
parent | 28176b0746807449d984823caed10b504dcd7305 (diff) | |
download | forums-ea15b879f127f3d121d8e78ae01457b43b702e58.tar forums-ea15b879f127f3d121d8e78ae01457b43b702e58.tar.gz forums-ea15b879f127f3d121d8e78ae01457b43b702e58.tar.bz2 forums-ea15b879f127f3d121d8e78ae01457b43b702e58.tar.xz forums-ea15b879f127f3d121d8e78ae01457b43b702e58.zip |
[ticket/12432] Correcting the assertion
PHPBB3-12432
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dbal/migrator_test.php | 5 |
1 files changed, 1 insertions, 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() |