[ticket/11501] Assert the variables instead of fail() with the condition

PHPBB3-11501
This commit is contained in:
Joas Schilling 2013-04-19 01:48:31 +02:00
parent a0d10cd7fc
commit 845832820b

View file

@ -144,15 +144,8 @@ class phpbb_dbal_migrator_test extends phpbb_database_test_case
$this->migrator->update(); $this->migrator->update();
} }
if ($migrator_test_if_true_failed) $this->assertFalse($migrator_test_if_true_failed, 'True test failed');
{ $this->assertFalse($migrator_test_if_false_failed, 'False test failed');
$this->fail('True test failed');
}
if ($migrator_test_if_false_failed)
{
$this->fail('False test failed');
}
} }
public function test_recall() public function test_recall()