Skip to content
Snippets Groups Projects
Commit 97ac4312 authored by Ted Bowman's avatar Ted Bowman Committed by Adam G-H
Browse files

Issue #3275887 by tedbow: Turn off Xdebug validation in tests

parent ca688464
No related branches found
No related tags found
1 merge request!286Issue #3275887: Turn off Xdebug validation in tests
...@@ -43,6 +43,8 @@ abstract class AutomaticUpdatesFunctionalTestBase extends BrowserTestBase { ...@@ -43,6 +43,8 @@ abstract class AutomaticUpdatesFunctionalTestBase extends BrowserTestBase {
// if either the active and stage directories don't have a composer.lock // if either the active and stage directories don't have a composer.lock
// file, which is the case with some of our fixtures. // file, which is the case with some of our fixtures.
'package_manager.validator.lock_file', 'package_manager.validator.lock_file',
// Always disable the Xdebug validator to allow test to run with Xdebug on.
'automatic_updates.validator.xdebug',
]; ];
/** /**
......
...@@ -47,6 +47,8 @@ abstract class AutomaticUpdatesKernelTestBase extends PackageManagerKernelTestBa ...@@ -47,6 +47,8 @@ abstract class AutomaticUpdatesKernelTestBase extends PackageManagerKernelTestBa
if (in_array('package_manager.validator.file_system', $this->disableValidators, TRUE)) { if (in_array('package_manager.validator.file_system', $this->disableValidators, TRUE)) {
$this->disableValidators[] = 'automatic_updates.validator.file_system_permissions'; $this->disableValidators[] = 'automatic_updates.validator.file_system_permissions';
} }
// Always disable the Xdebug validator to allow test to run with Xdebug on.
$this->disableValidators[] = 'automatic_updates.validator.xdebug';
parent::setUp(); parent::setUp();
// The Update module's default configuration must be installed for our // The Update module's default configuration must be installed for our
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment