diff --git a/default_content.info.yml b/default_content.info.yml index cc393b0..58c0071 100644 --- a/default_content.info.yml +++ b/default_content.info.yml @@ -2,6 +2,6 @@ name: 'Default content' type: module description: 'Imports default content when a module is enabled' package: Web services -core: 8.x +core_version_requirement: ^8.7.7 || ^9 dependencies: - drupal:hal (>=8.3.x) diff --git a/tests/src/Kernel/ExporterIntegrationTest.php b/tests/src/Kernel/ExporterIntegrationTest.php index e221866..a7d1a38 100644 --- a/tests/src/Kernel/ExporterIntegrationTest.php +++ b/tests/src/Kernel/ExporterIntegrationTest.php @@ -199,6 +199,7 @@ class ExporterIntegrationTest extends KernelTestBase { $this->defaultContentManager = \Drupal::service('default_content.exporter'); $this->expectException(\InvalidArgumentException::class); + $this->expectExceptionMessage(sprintf('Entity "%s" with UUID "%s" does not exist', 'node', '0e45d92f-1919-47cd-8b60-964a8a761292')); // Should throw an exception for missing uuid for the testing module. $this->defaultContentManager->exportModuleContent('default_content_export_test');