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
Merge requests
!197
Issue
#3262359
: Don't catalog event subscribers as a way of determining the validity of stored results
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3262359
: Don't catalog event subscribers as a way of determining the validity of stored results
issue/automatic_updates-3262359:3262359-dont-catalog-event
into
8.x-2.x
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
Adam G-H
requested to merge
issue/automatic_updates-3262359:3262359-dont-catalog-event
into
8.x-2.x
3 years ago
Overview
0
Commits
3
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
cd03cc5e
Prev
Next
Show latest version
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
cd03cc5e
Fix one test method
· cd03cc5e
Adam G-H
authored
3 years ago
tests/src/Kernel/ReadinessValidation/ReadinessValidationManagerTest.php
+
3
−
3
Options
@@ -59,9 +59,9 @@ class ReadinessValidationManagerTest extends AutomaticUpdatesKernelTestBase {
// Rebuild the container to trigger the service to be altered.
$kernel
=
$this
->
container
->
get
(
'kernel'
);
$this
->
container
=
$kernel
->
rebuildContainer
();
//
Confirm that results will be NULL if the run() is not called again
//
because the readiness checker services ord
er has been
altered
.
$this
->
assert
Null
(
$this
->
getResultsFromManager
());
//
The stored results should be returned, even though the validators' order
//
has been changed and the contain
er has been
rebuilt
.
$this
->
assert
ValidationResultsEqual
(
$expected_results_all
,
$this
->
getResultsFromManager
());
// Confirm that after calling run() the expected results order has changed.
$expected_results_all_reversed
=
array_reverse
(
$expected_results_all
);
$this
->
assertCheckerResultsFromManager
(
$expected_results_all_reversed
,
TRUE
);
Loading