Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
automatic_updates
Commits
97ac4312
Commit
97ac4312
authored
2 years ago
by
Ted Bowman
Committed by
Adam G-H
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3275887
by tedbow: Turn off Xdebug validation in tests
parent
ca688464
No related branches found
No related tags found
1 merge request
!286
Issue #3275887: Turn off Xdebug validation in tests
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/src/Functional/AutomaticUpdatesFunctionalTestBase.php
+2
-0
2 additions, 0 deletions
tests/src/Functional/AutomaticUpdatesFunctionalTestBase.php
tests/src/Kernel/AutomaticUpdatesKernelTestBase.php
+2
-0
2 additions, 0 deletions
tests/src/Kernel/AutomaticUpdatesKernelTestBase.php
with
4 additions
and
0 deletions
tests/src/Functional/AutomaticUpdatesFunctionalTestBase.php
+
2
−
0
View file @
97ac4312
...
@@ -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'
,
];
];
/**
/**
...
...
This diff is collapsed.
Click to expand it.
tests/src/Kernel/AutomaticUpdatesKernelTestBase.php
+
2
−
0
View file @
97ac4312
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment