diff --git a/core/modules/system/src/Tests/Session/SessionTest.php b/core/modules/system/src/Tests/Session/SessionTest.php index c4f89c5..f4a0dbc 100644 --- a/core/modules/system/src/Tests/Session/SessionTest.php +++ b/core/modules/system/src/Tests/Session/SessionTest.php @@ -8,6 +8,7 @@ namespace Drupal\system\Tests\Session; use Drupal\Component\Serialization\Yaml; +use Drupal\Core\DependencyInjection\YamlFileLoader; use Drupal\simpletest\WebTestBase; /** @@ -233,6 +234,7 @@ function testSessionWrite() { $data = Yaml::decode(file_get_contents($filename)); $data['parameters']['session_write_interval'] = 0; file_put_contents($filename, Yaml::encode($data)); + YamlFileLoader::reset(); $this->rebuildContainer(); $this->drupalGet('');