From 24dfa8d4866e527f89430ff2319dab68e62f3910 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Thu, 18 Apr 2024 17:22:30 +0100 Subject: [PATCH] Issue #3441727 by quietone: Document update fixture drupal.broken.xml --- .../update/tests/fixtures/release-history/drupal.broken.xml | 3 +++ .../update/tests/src/Functional/UpdateSemverCoreTest.php | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/core/modules/update/tests/fixtures/release-history/drupal.broken.xml b/core/modules/update/tests/fixtures/release-history/drupal.broken.xml index 1ba5d5e408ac..01e7ce2a0f13 100644 --- a/core/modules/update/tests/fixtures/release-history/drupal.broken.xml +++ b/core/modules/update/tests/fixtures/release-history/drupal.broken.xml @@ -1,3 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- +This XML file is empty to test no information scenarios. +--> <project xmlns:dc="http://purl.org/dc/elements/1.1/"> </project> diff --git a/core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php b/core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php index 8ac038ed83a8..0566b44e552f 100644 --- a/core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php +++ b/core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php @@ -77,6 +77,11 @@ public function testFetchTasks() { /** * Checks that Drupal recovers after problems connecting to update server. + * + * This test uses the following XML fixtures. + * - drupal.broken.xml + * - drupal.sec.8.0.2.xml + * 'supported_branches' is '8.0.,8.1.'. */ public function testBrokenThenFixedUpdates() { $this->drupalLogin($this->drupalCreateUser([ -- GitLab