mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/11744] Fix functional test case that's failing
PHPBB3-11744
This commit is contained in:
@@ -533,12 +533,9 @@ class phpbb_functional_test_case extends phpbb_test_case
|
|||||||
$cache = new phpbb_mock_null_cache;
|
$cache = new phpbb_mock_null_cache;
|
||||||
|
|
||||||
$cache_driver = new phpbb_cache_driver_null();
|
$cache_driver = new phpbb_cache_driver_null();
|
||||||
$phpbb_container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
|
$phpbb_container = new phpbb_mock_container_builder();
|
||||||
$phpbb_container
|
$phpbb_container->set('cache.driver', $cache_driver);
|
||||||
->expects($this->any())
|
$phpbb_container->set('notification_manager', new phpbb_mock_notification_manager());
|
||||||
->method('get')
|
|
||||||
->with('cache.driver')
|
|
||||||
->will($this->returnValue($cache_driver));
|
|
||||||
|
|
||||||
if (!function_exists('utf_clean_string'))
|
if (!function_exists('utf_clean_string'))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user