mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/16955] Update tests to support small changes to docblocks/types
PHPBB3-16955
This commit is contained in:
@@ -271,7 +271,7 @@ class phpbb_textformatter_s9e_factory_test extends phpbb_database_test_case
|
||||
$log = $this->getMockBuilder('phpbb\\log\\log_interface')->getMock();
|
||||
$log->expects($this->once())
|
||||
->method('add')
|
||||
->with('critical', null, null, 'LOG_BBCODE_CONFIGURATION_ERROR', false, ['[x !x]{TEXT}[/x]', 'Cannot interpret the BBCode definition']);
|
||||
->with('critical', ANONYMOUS, '', 'LOG_BBCODE_CONFIGURATION_ERROR', false, ['[x !x]{TEXT}[/x]', 'Cannot interpret the BBCode definition']);
|
||||
|
||||
$container = new phpbb_mock_container_builder;
|
||||
$container->set('log', $log);
|
||||
|
@@ -437,8 +437,8 @@ class phpbb_textformatter_s9e_renderer_test extends phpbb_test_case
|
||||
{
|
||||
return isset($vars['renderer'])
|
||||
&& $vars['renderer'] instanceof \phpbb\textformatter\s9e\renderer
|
||||
&& isset($vars['xml'])
|
||||
&& $vars['xml'] === '<t>...</t>';
|
||||
&& isset($vars['text'])
|
||||
&& $vars['text'] === '<t>...</t>';
|
||||
}
|
||||
|
||||
public function render_after_event_callback($vars)
|
||||
|
Reference in New Issue
Block a user