From e4c6d0b4981e324c668616bb94379c19b416e294 Mon Sep 17 00:00:00 2001 From: Philipp Imhof <52650214+PhilippImhof@users.noreply.github.com> Date: Fri, 23 May 2025 10:31:31 +0200 Subject: [PATCH] MDL-85565 phpunit: check for and therefore does not have the given options. --- question/engine/tests/helpers.php | 1 + 1 file changed, 1 insertion(+) diff --git a/question/engine/tests/helpers.php b/question/engine/tests/helpers.php index 407374e8562..4b44895bde4 100644 --- a/question/engine/tests/helpers.php +++ b/question/engine/tests/helpers.php @@ -574,6 +574,7 @@ abstract class question_testcase extends advanced_testcase { $dom = new DOMDocument(); $dom->loadHTML($html); $selects = $dom->getElementsByTagName('select'); + $this->assertGreaterThanOrEqual(1, $selects->count(), 'There is no