From 331836b8d0765ef1cd56161c6de982cf45fa9112 Mon Sep 17 00:00:00 2001 From: TamaroWalter Date: Tue, 16 Apr 2024 16:31:53 +0200 Subject: [PATCH] fix wrong use of behat command --- tests/behat/add_moodleoverflow.feature | 2 +- tests/behat/delete_file.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/behat/add_moodleoverflow.feature b/tests/behat/add_moodleoverflow.feature index 939fdd84cd..84555e63f5 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..62fb50b7c3 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: