Skip to content

Commit 637419f

Browse files
committed
Revert part of the previous commit: tollerate errors in inputs to allow testing of invalid inputs. #1703.
1 parent 7175255 commit 637419f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

stack/questiontestresult.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -344,11 +344,6 @@ public function passed() {
344344
if ($this->emptytestcase) {
345345
return false;
346346
}
347-
foreach ($this->get_input_states() as $state) {
348-
if ($state->errors !== "") {
349-
return false;
350-
}
351-
}
352347
foreach ($this->get_prt_states() as $state) {
353348
if (!$state->testoutcome) {
354349
return false;

0 commit comments

Comments
 (0)