dev/core#3979 - Add test to reproduce error
authorTim Otten <totten@civicrm.org>
Fri, 18 Nov 2022 01:12:48 +0000 (17:12 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 18 Nov 2022 01:15:19 +0000 (17:15 -0800)
commitba2c89ef0fc54be4e6d79c9be9fcef09908b9486
treecc63d50d6e70b45ed6ff35f744ac9588d743758a
parentf004a56ebe7dec1ebc8f2f6ac707ffbbc3b79741
dev/core#3979 - Add test to reproduce error

Note: On current D7, this doesn't actually reproduce the message because `bootstrap.inc` redirects it

```
function _drupal_bootstrap_configuration() {
  // Set the Drupal custom error handler.
  set_error_handler('_drupal_error_handler');
  set_exception_handler('_drupal_exception_handler');
```

But if you comment out `set_error_handler()`, then it does. And I presume it would on D8+...
tests/phpunit/E2E/Api4/LocaleTest.php [new file with mode: 0644]