diff --git a/core/modules/config/src/Tests/ConfigExportUITest.php b/core/modules/config/src/Tests/ConfigExportUITest.php index f8f1db0..2ada1d6 100644 --- a/core/modules/config/src/Tests/ConfigExportUITest.php +++ b/core/modules/config/src/Tests/ConfigExportUITest.php @@ -9,6 +9,7 @@ use Drupal\Component\Serialization\Yaml; use Drupal\Core\Archiver\Tar; +use Drupal\Core\Config\StorageInterface; use Drupal\simpletest\WebTestBase; /** @@ -64,7 +65,10 @@ function testExport() { $config_files = array(); foreach ($storage_active->listAll() as $config_name) { $config_files[] = $config_name . '.yml'; - // All active configuration in this test was installed with a project. + } + // Add configuration copies to the list of expected files. + $copy_collection = $storage_active->createCollection(StorageInterface::ORIGINAL_COPY_COLLECTION); + foreach ($copy_collection->listAll() as $config_name) { $config_files[] = 'originalcopy/' . $config_name . '.yml'; } // Assert that the downloaded archive file contents are the same as the test