mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/10240] Fixed censor_text test assetEquals param order.
Before, expected and input were the wrong way round. PHPBB3-10240
This commit is contained in:
@@ -78,6 +78,6 @@ class phpbb_text_processing_censor_text_test extends phpbb_test_case
|
||||
public function test_censor_text($input, $expected)
|
||||
{
|
||||
$label = 'Testing word censor: ' . $input;
|
||||
$this->assertEquals(censor_text($input), $expected, $label);
|
||||
$this->assertEquals($expected, censor_text($input), $label);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user