diff --git a/core/modules/system/src/Tests/Extension/InfoParserUnitTest.php b/core/modules/system/src/Tests/Extension/InfoParserUnitTest.php index b925285..767e0a1 100644 --- a/core/modules/system/src/Tests/Extension/InfoParserUnitTest.php +++ b/core/modules/system/src/Tests/Extension/InfoParserUnitTest.php @@ -74,7 +74,7 @@ public function testInfoParser() { $this->fail('Expected InfoParserException not thrown when reading missing_key.info.txt'); } catch (InfoParserException $e) { - $expected_message = "Missing required key (type) in $filename."; + $expected_message = "Missing required keys (type) in $filename."; $this->assertEqual($e->getMessage(), $expected_message); } diff --git a/core/modules/system/tests/fixtures/missing_key.info.txt b/core/modules/system/tests/fixtures/missing_key.info.txt index ad70138..022b5f3 100644 --- a/core/modules/system/tests/fixtures/missing_key.info.txt +++ b/core/modules/system/tests/fixtures/missing_key.info.txt @@ -1,6 +1,5 @@ # info.yml for testing missing type key. name: File -type: module description: 'Defines a file field type.' package: Core version: VERSION