diff --git a/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php b/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php index 74a7649..924167d 100644 --- a/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php @@ -50,9 +50,6 @@ public function testInfoParserNonExisting() { * Test if correct exception is thrown for a broken info file. * * @covers ::parse - * - * @expectedException \Drupal\Core\Extension\InfoParserException - * @expectedExceptionMessageRegExp #broken\.info\.txt# */ public function testInfoParserBroken() { $broken_info = <<setExpectedException('\Drupal\Core\Extension\InfoParserException', 'broken.info.txt'); $this->infoParser->parse($filename); } @@ -82,8 +80,6 @@ public function testInfoParserBroken() { * * @covers ::parse * - * @expectedException \Drupal\Core\Extension\InfoParserException - * @expectedExceptionMessageRegExp #Missing required keys \(type, core, name\) in .+?missing_keys\.info\.txt# */ public function testInfoParserMissingKeys() { $missing_keys = <<setExpectedException('\Drupal\Core\Extension\InfoParserException', 'Missing required keys (type, core, name) in vfs://modules/fixtures/missing_keys.info.txt'); $this->infoParser->parse($filename); } @@ -108,9 +105,6 @@ public function testInfoParserMissingKeys() { * Tests that missing required key is detected. * * @covers ::parse - * - * @expectedException \Drupal\Core\Extension\InfoParserException - * @expectedExceptionMessageRegExp #Missing required keys \(type\) in .+?missing_key\.info\.txt# */ public function testInfoParserMissingKey() { $missing_key = <<setExpectedException('\Drupal\Core\Extension\InfoParserException', 'Missing required keys (type) in vfs://modules/fixtures/missing_key.info.txt'); $this->infoParser->parse($filename); }