diff --git a/core/tests/Drupal/Tests/UnitTestCase.php b/core/tests/Drupal/Tests/UnitTestCase.php index 314c514..b9a7b50 100644 --- a/core/tests/Drupal/Tests/UnitTestCase.php +++ b/core/tests/Drupal/Tests/UnitTestCase.php @@ -26,7 +26,7 @@ class UnitTestCase extends \PHPUnit_Framework_TestCase { * ) */ public static function getInfo() { - throw new \BadMethodCallException("Sub-class must implement the getInfo method!"); + throw new \RuntimeException("Sub-class must implement the getInfo method!"); } /**