2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
$this->assertExceptionFailure($this->expectedExceptionMessage,'Ensure that monekys are found in the control room.');
}
/**
* Tests a missing dependency on a service.
*/
publicfunctiontestMissingDependency(){
$this->expectedExceptionMessage='Argument 1 passed to Drupal\error_service_test\LonelyMonkeyClass::__construct() must be an instance of Drupal\Core\Database\Connection, non';
$this->drupalGet('broken-service-class');
$message='Argument 1 passed to Drupal\error_service_test\LonelyMonkeyClass::__construct() must be an instance of Drupal\Core\Database\Connection, non';
$this->assertRaw('The website encountered an unexpected error.');