aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_formatter/s9e/parser_test.php
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-02-15 03:08:36 +0100
committerJoshyPHP <s9e.dev@gmail.com>2015-04-02 19:16:01 +0200
commit6bd86a8e8a7c8e2ccf90d02343132c085978cd44 (patch)
tree630068c062790c451143b418acccc4ea7f6446b9 /tests/text_formatter/s9e/parser_test.php
parentf6e3e41717e71fb43ea63785cfe7980e33be3fbf (diff)
downloadforums-6bd86a8e8a7c8e2ccf90d02343132c085978cd44.tar
forums-6bd86a8e8a7c8e2ccf90d02343132c085978cd44.tar.gz
forums-6bd86a8e8a7c8e2ccf90d02343132c085978cd44.tar.bz2
forums-6bd86a8e8a7c8e2ccf90d02343132c085978cd44.tar.xz
forums-6bd86a8e8a7c8e2ccf90d02343132c085978cd44.zip
[ticket/11768] Updated phpbb\textformatter\s9e\factory::regenerate()
Returns an associative array rather than a numerically-indexed array. Feels cleaner and more extensible. PHPBB3-11768
Diffstat (limited to 'tests/text_formatter/s9e/parser_test.php')
-rw-r--r--tests/text_formatter/s9e/parser_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/text_formatter/s9e/parser_test.php b/tests/text_formatter/s9e/parser_test.php
index aee906e213..f422e5425a 100644
--- a/tests/text_formatter/s9e/parser_test.php
+++ b/tests/text_formatter/s9e/parser_test.php
@@ -82,7 +82,7 @@ class phpbb_textformatter_s9e_parser_test extends phpbb_test_case
->getMock();
$factory->expects($this->once())
->method('regenerate')
- ->will($this->returnValue(array($mock, false)));
+ ->will($this->returnValue(array('parser' => $mock)));
$parser = new \phpbb\textformatter\s9e\parser(
new phpbb_mock_cache,