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
No related merge requests found
......@@ -59,8 +59,7 @@ abstract class AutomaticUpdatesFunctionalTestBase extends BrowserTestBase {
];
}
file_put_contents($services_file, Yaml::encode($services));
// Ensure the container is rebuilt ASAP.
$this->kernel->invalidateContainer();
$this->rebuildContainer();
}
/**
......
......@@ -373,11 +373,6 @@ class ReadinessValidationTest extends AutomaticUpdatesFunctionalTestBase {
* Tests that stored validation results are deleted after an update.
*/
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();
$page = $this->getSession()->getPage();
$this->drupalLogin($this->checkerRunnerUser);
......@@ -396,6 +391,10 @@ class ReadinessValidationTest extends AutomaticUpdatesFunctionalTestBase {
'automatic_updates_test',
'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
// 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