mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 19:06:41 +02:00
MDL-47494 ddimageortext: Fix failing unit tests.
This commit is contained in:
parent
e9a2711b85
commit
09e43f0a68
1 changed files with 10 additions and 10 deletions
|
@ -396,9 +396,9 @@ class qtype_ddimageortext_walkthrough_test extends qbehaviour_walkthrough_test_b
|
|||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p2', 2),
|
||||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p3', ''),
|
||||
$this->quba->get_field_prefix($this->slot) . 'p3', 0),
|
||||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p4', ''),
|
||||
$this->quba->get_field_prefix($this->slot) . 'p4', 0),
|
||||
$this->get_does_not_contain_correctness_expectation(),
|
||||
$this->get_does_not_contain_feedback_expectation());
|
||||
|
||||
|
@ -506,9 +506,9 @@ class qtype_ddimageortext_walkthrough_test extends qbehaviour_walkthrough_test_b
|
|||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p2', 2),
|
||||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p3', ''),
|
||||
$this->quba->get_field_prefix($this->slot) . 'p3', 0),
|
||||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p4', ''),
|
||||
$this->quba->get_field_prefix($this->slot) . 'p4', 0),
|
||||
$this->get_contains_submit_button_expectation(true),
|
||||
$this->get_does_not_contain_try_again_button_expectation(),
|
||||
$this->get_does_not_contain_correctness_expectation(),
|
||||
|
@ -560,9 +560,9 @@ class qtype_ddimageortext_walkthrough_test extends qbehaviour_walkthrough_test_b
|
|||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p1', 1),
|
||||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p2', ''),
|
||||
$this->quba->get_field_prefix($this->slot) . 'p2', 0),
|
||||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p3', ''),
|
||||
$this->quba->get_field_prefix($this->slot) . 'p3', 0),
|
||||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p4', 2),
|
||||
$this->get_contains_submit_button_expectation(true),
|
||||
|
@ -786,13 +786,13 @@ class qtype_ddimageortext_walkthrough_test extends qbehaviour_walkthrough_test_b
|
|||
$this->get_contains_drag_image_home_expectation(1, 1, 2),
|
||||
$this->get_contains_drag_image_home_expectation(2, 2, 2),
|
||||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p1', ''),
|
||||
$this->quba->get_field_prefix($this->slot) . 'p1', 0),
|
||||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p2', ''),
|
||||
$this->quba->get_field_prefix($this->slot) . 'p2', 0),
|
||||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p3', ''),
|
||||
$this->quba->get_field_prefix($this->slot) . 'p3', 0),
|
||||
$this->get_contains_hidden_expectation(
|
||||
$this->quba->get_field_prefix($this->slot) . 'p4', ''),
|
||||
$this->quba->get_field_prefix($this->slot) . 'p4', 0),
|
||||
$this->get_contains_submit_button_expectation(true),
|
||||
$this->get_does_not_contain_feedback_expectation(),
|
||||
$this->get_tries_remaining_expectation(2),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue