Skip to content
Snippets Groups Projects
Commit d897a410 authored by Adam G-H's avatar Adam G-H
Browse files

Issue #3262244 by phenaproxima: HEAD is broken because I made Zeus mad

parent 1b42c6f3
No related branches found
No related tags found
1 merge request!194Issue #3262244: HEAD is broken because I made Zeus mad
...@@ -59,8 +59,7 @@ abstract class AutomaticUpdatesFunctionalTestBase extends BrowserTestBase { ...@@ -59,8 +59,7 @@ abstract class AutomaticUpdatesFunctionalTestBase extends BrowserTestBase {
]; ];
} }
file_put_contents($services_file, Yaml::encode($services)); file_put_contents($services_file, Yaml::encode($services));
// Ensure the container is rebuilt ASAP. $this->rebuildContainer();
$this->kernel->invalidateContainer();
} }
/** /**
......
...@@ -373,11 +373,6 @@ class ReadinessValidationTest extends AutomaticUpdatesFunctionalTestBase { ...@@ -373,11 +373,6 @@ class ReadinessValidationTest extends AutomaticUpdatesFunctionalTestBase {
* Tests that stored validation results are deleted after an update. * Tests that stored validation results are deleted after an update.
*/ */
public function testStoredResultsClearedAfterUpdate(): void { public function testStoredResultsClearedAfterUpdate(): void {
// Because all actual staging operations are bypassed by
// package_manager_bypass, disable this validator because it will complain
// if there's no actual Composer data to inspect.
$this->disableValidators(['automatic_updates.staged_projects_validator']);
$assert_session = $this->assertSession(); $assert_session = $this->assertSession();
$page = $this->getSession()->getPage(); $page = $this->getSession()->getPage();
$this->drupalLogin($this->checkerRunnerUser); $this->drupalLogin($this->checkerRunnerUser);
...@@ -396,6 +391,10 @@ class ReadinessValidationTest extends AutomaticUpdatesFunctionalTestBase { ...@@ -396,6 +391,10 @@ class ReadinessValidationTest extends AutomaticUpdatesFunctionalTestBase {
'automatic_updates_test', 'automatic_updates_test',
'package_manager_bypass', 'package_manager_bypass',
]); ]);
// Because all actual staging operations are bypassed by
// package_manager_bypass, disable this validator because it will complain
// if there's no actual Composer data to inspect.
$this->disableValidators(['automatic_updates.staged_projects_validator']);
// The error should be persistently visible, even after the checker stops // The error should be persistently visible, even after the checker stops
// flagging it. // flagging it.
......
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