mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16649] Upgrade to Symfony 5
PHPBB3-16649
This commit is contained in:
@@ -52,7 +52,7 @@ namespace
|
||||
$this->assertTrue($container->hasParameter('core'));
|
||||
|
||||
// Checks compile_container
|
||||
$this->assertTrue($container->isFrozen());
|
||||
$this->assertTrue($container->isCompiled());
|
||||
|
||||
// Checks inject_config
|
||||
$this->assertTrue($container->hasParameter('core.table_prefix'));
|
||||
@@ -74,7 +74,7 @@ namespace
|
||||
// Checks the construction of a dumped container
|
||||
$container = $this->builder->get_container();
|
||||
$this->assertInstanceOf('phpbb_cache_container', $container);
|
||||
$this->assertTrue($container->isFrozen());
|
||||
$this->assertTrue($container->isCompiled());
|
||||
}
|
||||
|
||||
public function test_tables_mapping()
|
||||
@@ -102,7 +102,7 @@ namespace
|
||||
$container = $this->builder->get_container();
|
||||
$this->assertNotInstanceOf('phpbb_cache_container', $container);
|
||||
$this->assertInstanceOf('Symfony\Component\DependencyInjection\ContainerBuilder', $container);
|
||||
$this->assertTrue($container->isFrozen());
|
||||
$this->assertTrue($container->isCompiled());
|
||||
}
|
||||
|
||||
public function test_without_extensions()
|
||||
@@ -127,7 +127,7 @@ namespace
|
||||
$this->assertInstanceOf('Symfony\Component\DependencyInjection\ContainerBuilder', $container);
|
||||
|
||||
// Checks compile_container
|
||||
$this->assertFalse($container->isFrozen());
|
||||
$this->assertFalse($container->isCompiled());
|
||||
}
|
||||
|
||||
public function test_with_config_path()
|
||||
|
Reference in New Issue
Block a user