aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-03-03 00:43:46 +0100
committerJoshyPHP <s9e.dev@gmail.com>2015-04-02 19:16:02 +0200
commitb12043d4b076b1e214fd85da28358ba829d47a76 (patch)
tree2a97e132100c6df948b9b7b8ea21bb36d01e3f05 /tests/test_framework
parentbaadc2a6e52437d9d5912c828a337a3c2866c9eb (diff)
downloadforums-b12043d4b076b1e214fd85da28358ba829d47a76.tar
forums-b12043d4b076b1e214fd85da28358ba829d47a76.tar.gz
forums-b12043d4b076b1e214fd85da28358ba829d47a76.tar.bz2
forums-b12043d4b076b1e214fd85da28358ba829d47a76.tar.xz
forums-b12043d4b076b1e214fd85da28358ba829d47a76.zip
[ticket/11768] Renamed get_words() to get_censored_words()
PHPBB3-11768
Diffstat (limited to 'tests/test_framework')
-rw-r--r--tests/test_framework/phpbb_test_case_helpers.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_framework/phpbb_test_case_helpers.php b/tests/test_framework/phpbb_test_case_helpers.php
index 3423d83bb1..8e49dca40c 100644
--- a/tests/test_framework/phpbb_test_case_helpers.php
+++ b/tests/test_framework/phpbb_test_case_helpers.php
@@ -394,7 +394,7 @@ class phpbb_test_case_helpers
// Mock the DAL, make it return data from the fixture
$mb = $this->test_case->getMockBuilder('phpbb\\textformatter\\data_access');
- $mb->setMethods(array('get_bbcodes', 'get_smilies', 'get_styles', 'get_words'));
+ $mb->setMethods(array('get_bbcodes', 'get_censored_words', 'get_smilies', 'get_styles'));
$mb->setConstructorArgs(array(
$this->test_case->getMock('phpbb\\db\\driver\\driver'),
'phpbb_bbcodes',
@@ -417,7 +417,7 @@ class phpbb_test_case_helpers
->method('get_styles')
->will($this->test_case->returnValue($tables['phpbb_styles']));
$dal->expects($this->test_case->any())
- ->method('get_words')
+ ->method('get_censored_words')
->will($this->test_case->returnValue($tables['phpbb_words']));
// Cache the parser and renderer with a key based on this method's arguments