mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
[ticket/17535] Update PHPUnit to v.10
PHPBB-17535
This commit is contained in:
@@ -15,7 +15,7 @@ namespace
|
||||
{
|
||||
require_once __DIR__ . '/fixtures/ext/vendor/enabled_4/di/extension.php';
|
||||
|
||||
class phpbb_di_container_test extends \phpbb_test_case
|
||||
class phpbb_di_create_container_test extends \phpbb_test_case
|
||||
{
|
||||
protected $config_php;
|
||||
|
||||
@@ -73,7 +73,8 @@ namespace
|
||||
|
||||
// Checks the construction of a dumped container
|
||||
$container = $this->builder->get_container();
|
||||
$this->assertInstanceOf('phpbb_cache_container', $container);
|
||||
$this->assertEquals('phpbb_cache_container', $container::class);
|
||||
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Container', $container);
|
||||
$this->assertTrue($container->isCompiled());
|
||||
}
|
||||
|
||||
@@ -100,7 +101,8 @@ namespace
|
||||
|
||||
// Checks the construction of a dumped container
|
||||
$container = $this->builder->get_container();
|
||||
$this->assertNotInstanceOf('phpbb_cache_container', $container);
|
||||
$this->assertNotEquals('phpbb_cache_container', $container::class);
|
||||
$this->assertEquals('Symfony\Component\DependencyInjection\ContainerBuilder', $container::class);
|
||||
$this->assertInstanceOf('Symfony\Component\DependencyInjection\ContainerBuilder', $container);
|
||||
$this->assertTrue($container->isCompiled());
|
||||
}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
// phpBB 3.1.x auto-generated configuration file
|
||||
// Do not change anything in this file!
|
||||
$dbms = 'mysql';
|
||||
$dbms = ''; // Set this to empty value to avoid failed connection attempt as this will produce unwanted error/exception
|
||||
$dbhost = '127.0.0.1';
|
||||
$dbport = '';
|
||||
$dbname = 'phpbb';
|
||||
|
Reference in New Issue
Block a user