mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11501] Assert the variables instead of fail() with the condition
PHPBB3-11501
This commit is contained in:
parent
a0d10cd7fc
commit
845832820b
1 changed files with 2 additions and 9 deletions
|
@ -144,15 +144,8 @@ class phpbb_dbal_migrator_test extends phpbb_database_test_case
|
|||
$this->migrator->update();
|
||||
}
|
||||
|
||||
if ($migrator_test_if_true_failed)
|
||||
{
|
||||
$this->fail('True test failed');
|
||||
}
|
||||
|
||||
if ($migrator_test_if_false_failed)
|
||||
{
|
||||
$this->fail('False test failed');
|
||||
}
|
||||
$this->assertFalse($migrator_test_if_true_failed, 'True test failed');
|
||||
$this->assertFalse($migrator_test_if_false_failed, 'False test failed');
|
||||
}
|
||||
|
||||
public function test_recall()
|
||||
|
|
Loading…
Add table
Reference in a new issue