1
0
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:
Callum Macrae
2011-08-23 11:32:35 +01:00
parent e7ab7f5f7a
commit 0d104b00c8

View File

@@ -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);
}
}