MDL-76717 quiz: Fix behat exception

Include class for DriverException thrown when trying to add a question without Javascript enabled.
This commit is contained in:
Mark Johnson 2023-06-12 16:01:13 +01:00
parent 71c36d2de1
commit c3697235c1

View File

@ -31,6 +31,7 @@ require_once(__DIR__ . '/../../../../question/tests/behat/behat_question_base.ph
use Behat\Gherkin\Node\TableNode as TableNode;
use Behat\Mink\Exception\ExpectationException as ExpectationException;
use Behat\Mink\Exception\DriverException as DriverException;
use mod_quiz\quiz_attempt;
use mod_quiz\quiz_settings;