diff --git a/Gruntfile.js b/Gruntfile.js index 4cb9e9ebbd9..5f2302e4562 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -338,7 +338,7 @@ module.exports = function(grunt) { opts: {stdio: 'inherit', env: process.env} }, function(error, result, code) { // Propagate the exit code. - done(code); + done(code === 0); }); }; diff --git a/mod/data/tests/behat/completion_condition_entries.feature b/mod/data/tests/behat/completion_condition_entries.feature index 252b2474ef3..d9da1db9110 100644 --- a/mod/data/tests/behat/completion_condition_entries.feature +++ b/mod/data/tests/behat/completion_condition_entries.feature @@ -4,7 +4,7 @@ Feature: Set entries required as a completion condition for a data item As a teacher I need to set entries required to mark the database activity as completed -Scenario: Two entries required to complete the activity + Scenario: Two entries required to complete the activity Given the following "users" exist: | username | firstname | lastname | email | | student1 | Student | 1 | student1@example.com | diff --git a/mod/quiz/tests/behat/editing_remove_multiple_questions.feature b/mod/quiz/tests/behat/editing_remove_multiple_questions.feature index 984123ef9b5..7d5c9be341d 100644 --- a/mod/quiz/tests/behat/editing_remove_multiple_questions.feature +++ b/mod/quiz/tests/behat/editing_remove_multiple_questions.feature @@ -167,4 +167,3 @@ Feature: Edit quiz page - remove multiple questions When I click on "Deselect all" "link" Then the field "selectquestion-3" matches value "0" -