mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
e7ab7f5f7a
commit
0d104b00c8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue