diff options
author | Callum Macrae <callum@lynxphp.com> | 2011-08-23 11:32:35 +0100 |
---|---|---|
committer | Callum Macrae <callum@lynxphp.com> | 2011-08-23 11:32:35 +0100 |
commit | 0d104b00c887db311576ab390ed2c79d2fb8ec99 (patch) | |
tree | 4f7a536faed7d65b0a525008daf235f92f10ce4e /tests/text_processing | |
parent | e7ab7f5f7a3e72c94df6e16360a1594c96618caa (diff) | |
download | forums-0d104b00c887db311576ab390ed2c79d2fb8ec99.tar forums-0d104b00c887db311576ab390ed2c79d2fb8ec99.tar.gz forums-0d104b00c887db311576ab390ed2c79d2fb8ec99.tar.bz2 forums-0d104b00c887db311576ab390ed2c79d2fb8ec99.tar.xz forums-0d104b00c887db311576ab390ed2c79d2fb8ec99.zip |
[ticket/10240] Fixed censor_text test assetEquals param order.
Before, expected and input were the wrong way round.
PHPBB3-10240
Diffstat (limited to 'tests/text_processing')
-rw-r--r-- | tests/text_processing/censor_text_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/text_processing/censor_text_test.php b/tests/text_processing/censor_text_test.php index ac620597b9..1d4b3fa943 100644 --- a/tests/text_processing/censor_text_test.php +++ b/tests/text_processing/censor_text_test.php @@ -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); } } |