mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
[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
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user