From b634604075ef3223b11cb23114af7e6195c762d2 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Wed, 14 Sep 2022 10:22:13 +0200 Subject: [PATCH] MOBILE-4081 behat: Fix database tests Same as https://github.com/moodle/moodle/commit/aa49eb24fb14dfd07cd20b3361adc8918e6ffa82 --- src/addons/mod/data/tests/behat/entries.feature | 4 ++-- src/addons/mod/data/tests/behat/sync.feature | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/addons/mod/data/tests/behat/entries.feature b/src/addons/mod/data/tests/behat/entries.feature index 25f960d88..27b15232f 100644 --- a/src/addons/mod/data/tests/behat/entries.feature +++ b/src/addons/mod/data/tests/behat/entries.feature @@ -24,10 +24,10 @@ Feature: Users can manage entries in database activities And I log in as "teacher1" And I am on "Course 1" course homepage # TODO Create and use a generator for database fields. - And I add a "Text input" field to "Web links" database and I fill the form with: + And I add a "Short text" field to "Web links" database and I fill the form with: | Field name | URL | | Field description | URL link | - And I add a "Text input" field to "Web links" database and I fill the form with: + And I add a "Short text" field to "Web links" database and I fill the form with: | Field name | Description | | Field description | Link description | And I log out diff --git a/src/addons/mod/data/tests/behat/sync.feature b/src/addons/mod/data/tests/behat/sync.feature index 41b7b9333..cb6c06b06 100644 --- a/src/addons/mod/data/tests/behat/sync.feature +++ b/src/addons/mod/data/tests/behat/sync.feature @@ -23,10 +23,10 @@ Feature: Users can store entries in database activities when offline and sync wh | data | Web links | Useful links | C1 | data1 | And I log in as "teacher1" And I am on "Course 1" course homepage - And I add a "Text input" field to "Web links" database and I fill the form with: + And I add a "Short text" field to "Web links" database and I fill the form with: | Field name | URL | | Field description | URL link | - And I add a "Text input" field to "Web links" database and I fill the form with: + And I add a "Short text" field to "Web links" database and I fill the form with: | Field name | Description | | Field description | Link description | And I log out