diff --git a/tests/behat/add_moodleoverflow.feature b/tests/behat/add_moodleoverflow.feature index 939fdd84cd..6e56d9b252 100644 --- a/tests/behat/add_moodleoverflow.feature +++ b/tests/behat/add_moodleoverflow.feature @@ -19,7 +19,7 @@ Feature: Add moodleoverflow activities and discussions And I log in as "teacher1" And I am on "Course 1" course homepage And I turn editing mode on - And I add a "Moodleoverflow" to section "1" and I fill the form with: + And I add a "moodleoverflow" activity to course "C1" section "1" and I fill the form with: | Moodleoverflow name | Test moodleoverflow name | | Description | Test forum description | And I add a new discussion to "Test moodleoverflow name" moodleoverflow with: diff --git a/tests/behat/delete_file.feature b/tests/behat/delete_file.feature index 24b9de2c3f..8917ef0950 100644 --- a/tests/behat/delete_file.feature +++ b/tests/behat/delete_file.feature @@ -17,7 +17,7 @@ Feature: Delete attachments And I log in as "teacher1" And I am on "Course 1" course homepage And I turn editing mode on - And I add a "Moodleoverflow" to section "1" and I fill the form with: + And I add a "moodleoverflow" activity to course "C1" section "1" and I fill the form with: | Moodleoverflow name | Test moodleoverflow name | | Description | Test forum description | And I add a new discussion to "Test moodleoverflow name" moodleoverflow with: