diff --git a/tests/phpunit/src/Misc/ExceptionListenerTest.php b/tests/phpunit/src/Misc/ExceptionListenerTest.php index fd6c26096..b8355a005 100644 --- a/tests/phpunit/src/Misc/ExceptionListenerTest.php +++ b/tests/phpunit/src/Misc/ExceptionListenerTest.php @@ -109,6 +109,10 @@ public function providerTestHelp(): array 'Frequently, `MySQL server has gone away` messages are caused by max_allowed_packet being exceeded.', ], ], + [ + new AcquiaCliException('Database connection details missing'), + 'Check that you have the \'View database connection details\' permission', + ], [ new ApiErrorException((object) [ 'error' => '',