mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/11768] Removed the cached renderer
We don't need to cache an instance of the renderer, we can just instantiate it every time we need one. PHPBB3-11768
This commit is contained in:
@@ -34,7 +34,7 @@ class phpbb_textformatter_s9e_renderer_test extends phpbb_test_case
|
||||
$cache->expects($this->once())
|
||||
->method('get')
|
||||
->with('_foo_renderer')
|
||||
->will($this->returnValue(array('class' => 'renderer_foo', 'renderer' => serialize($mock))));
|
||||
->will($this->returnValue(array('class' => 'renderer_foo')));
|
||||
|
||||
$factory = $this->getMockBuilder('phpbb\\textformatter\\s9e\\factory')
|
||||
->disableOriginalConstructor()
|
||||
|
Reference in New Issue
Block a user