7.x Contrib phpunit tests fail - WD mail: Error sending e-mail from admin@example.com
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3408456. -->
Reported by: [jonathan1055](https://www.drupal.org/user/92645)
Related to !96 !94
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Since a few days ago, my D7 contrib phpunit tests have all started to fail with</p>
<pre># Install Drupal. # collapsed multi-line command<br>You are about to create a /builds/project/scheduler/web/sites/default/settings.php file and DROP all tables in your 'mysql' database. Do you want to continue? (y/n): y<br>Starting Drupal installation. This takes a while. Consider using the [ok]<br>--notify global option.<br>sh: 1: /usr/sbin/sendmail: not found<br>WD mail: Error sending e-mail (from admin@example.com to [error]<br>admin@example.com).</pre><p>Example log is <a href="https://git.drupalcode.org/project/scheduler/-/jobs/480276#L290">https://git.drupalcode.org/project/scheduler/-/jobs/480276#L290</a></p>
> Related issue: [Issue #3408757](https://www.drupal.org/node/3408757)
issue