@@ -111,7 +111,9 @@ public function testUncaughtException() {
publicfunctiontestUncaughtFatalError(){
$fatal_error=[
'%type'=>'TypeError',
'@message'=>'Argument 1 passed to Drupal\error_test\Controller\ErrorTestController::Drupal\error_test\Controller\{closure}() must be of the type array, string given, called in '.\Drupal::root().'/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php on line 65',
'@message'=>PHP_VERSION_ID>=80000?
'Drupal\error_test\Controller\ErrorTestController::Drupal\error_test\Controller\{closure}(): Argument #1 ($test) must be of type array, string given, called in '.\Drupal::root().'/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php on line 65':
'Argument 1 passed to Drupal\error_test\Controller\ErrorTestController::Drupal\error_test\Controller\{closure}() must be of the type array, string given, called in '.\Drupal::root().'/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php on line 65',
'Drupal\FunctionalTests\Bootstrap\ErrorContainer::Drupal\FunctionalTests\Bootstrap\{closure}(): Argument #1 ($container) must be of type Drupal\FunctionalTests\Bootstrap\ErrorContainer':
'Argument 1 passed to Drupal\FunctionalTests\Bootstrap\ErrorContainer::Drupal\FunctionalTests\Bootstrap\{closur';
@@ -56,8 +56,14 @@ protected function setUp(): void {
*/
publicfunctiontestOptionsDeprecated(){
$this->expectDeprecation('Drupal\Core\Routing\CompiledRoute::getOptions() is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/3159706');
@@ -79,8 +85,14 @@ public function testOptionsDynamicallySet() {
*/
publicfunctiontestDefaultsDeprecated(){
$this->expectDeprecation('Drupal\Core\Routing\CompiledRoute::getDefaults() is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/3159706');
@@ -100,8 +112,14 @@ public function testDefaultsDynamicallySet() {
*/
publicfunctiontestRequirementsDeprecated(){
$this->expectDeprecation('Drupal\Core\Routing\CompiledRoute::getRequirements() is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/3159706');