Merge branch '4.4' into 5.1

* 4.4:
  fix tests
This commit is contained in:
Nicolas Grekas 2020-09-10 18:39:50 +02:00
commit 12c0b34e3f

View File

@ -84,6 +84,6 @@ class CacheClearCommandTest extends TestCase
$containerFile = str_replace('tes_'.\DIRECTORY_SEPARATOR, 'test'.\DIRECTORY_SEPARATOR, $containerRef->getFileName());
$this->assertMatchesRegularExpression(sprintf('/\'kernel.container_class\'\s*=>\s*\'%s\'/', $containerClass), file_get_contents($containerFile), 'kernel.container_class is properly set on the dumped container');
$this->assertFileEquals(__DIR__.'/Fixture/preload.php.expected', __DIR__.'/Fixture/preload.php');
$this->assertFileEquals(__DIR__.'/Fixture/preload.php.expected', __DIR__.'/Fixture/.preload.php');
}
}