mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 11:44:08 +02:00
[ticket/11501] Assert the variables instead of fail() with the condition
PHPBB3-11501
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user