diff --git a/badges/tests/behat/manage_badges.feature b/badges/tests/behat/manage_badges.feature index 03adba06dda..1dc56ac44d9 100644 --- a/badges/tests/behat/manage_badges.feature +++ b/badges/tests/behat/manage_badges.feature @@ -49,8 +49,8 @@ Feature: Manage badges Scenario Outline: Filter managed badges Given the following "core_badges > Badges" exist: - | name | status | version | - | Badge #2 | 1 | 2.0 | + | name | status | version | image | + | Badge #2 | 1 | 2.0 | badges/tests/behat/badge.png | And I log in as "admin" When I navigate to "Badges > Manage badges" in site administration And I click on "Filters" "button" diff --git a/badges/tests/generator/behat_core_badges_generator.php b/badges/tests/generator/behat_core_badges_generator.php index eeb13fb3e56..349c9f4ef6a 100644 --- a/badges/tests/generator/behat_core_badges_generator.php +++ b/badges/tests/generator/behat_core_badges_generator.php @@ -37,6 +37,7 @@ class behat_core_badges_generator extends behat_generator_base { 'datagenerator' => 'badge', 'required' => [ 'name', + 'image', ], 'switchids' => [ 'course' => 'courseid',