aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCallum Macrae <callum@lynxphp.com>2011-08-23 11:32:35 +0100
committerCallum Macrae <callum@lynxphp.com>2011-08-23 11:32:35 +0100
commit0d104b00c887db311576ab390ed2c79d2fb8ec99 (patch)
tree4f7a536faed7d65b0a525008daf235f92f10ce4e /tests
parent[ticket/10240] Added censor_text tests for special characters. (diff)
downloadphpbb-0d104b00c887db311576ab390ed2c79d2fb8ec99.tar.gz
phpbb-0d104b00c887db311576ab390ed2c79d2fb8ec99.tar.bz2
phpbb-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')
-rw-r--r--tests/text_processing/censor_text_test.php2
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);
}
}