mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge pull request #1617 from EXreaction/ticket/11744
[ticket/11744] Group join request notification
This commit is contained in:
@@ -138,7 +138,7 @@ class phpbb_database_test_connection_manager
|
||||
catch (PDOException $e)
|
||||
{
|
||||
$cleaned_dsn = str_replace($this->config['dbpasswd'], '*password*', $dsn);
|
||||
throw new Exception("Unable do connect to $cleaned_dsn using PDO with error: {$e->getMessage()}");
|
||||
throw new Exception("Unable to connect to $cleaned_dsn using PDO with error: {$e->getMessage()}");
|
||||
}
|
||||
|
||||
$this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||
|
@@ -533,12 +533,9 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
$cache = new phpbb_mock_null_cache;
|
||||
|
||||
$cache_driver = new phpbb_cache_driver_null();
|
||||
$phpbb_container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
|
||||
$phpbb_container
|
||||
->expects($this->any())
|
||||
->method('get')
|
||||
->with('cache.driver')
|
||||
->will($this->returnValue($cache_driver));
|
||||
$phpbb_container = new phpbb_mock_container_builder();
|
||||
$phpbb_container->set('cache.driver', $cache_driver);
|
||||
$phpbb_container->set('notification_manager', new phpbb_mock_notification_manager());
|
||||
|
||||
if (!function_exists('utf_clean_string'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user