diff --git a/core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php b/core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php index 9d5ac4bdf9..a720fc70ea 100644 --- a/core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php @@ -2,6 +2,7 @@ namespace Drupal\Tests\Core\Cache; +use Drupal\Component\Serialization\PhpSerialize; use Drupal\Core\Cache\CacheTagsChecksumInterface; use Drupal\Core\Cache\DatabaseBackend; use Drupal\Core\Cache\DatabaseBackendFactory; @@ -24,7 +25,8 @@ public function testGet(array $settings, $expected_max_rows_foo, $expected_max_r $database_backend_factory = new DatabaseBackendFactory( $this->prophesize(Connection::class)->reveal(), $this->prophesize(CacheTagsChecksumInterface::class)->reveal(), - new Settings($settings) + new Settings($settings), + new PhpSerialize() ); $this->assertSame($expected_max_rows_foo, $database_backend_factory->get('foo')->getMaxRows());