mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 05:28:30 +01:00
MDL-83037 badges: ensure image is specified in Behat test generator.
This commit is contained in:
parent
6a7b69a30a
commit
08127c83a7
@ -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"
|
||||
|
@ -37,6 +37,7 @@ class behat_core_badges_generator extends behat_generator_base {
|
||||
'datagenerator' => 'badge',
|
||||
'required' => [
|
||||
'name',
|
||||
'image',
|
||||
],
|
||||
'switchids' => [
|
||||
'course' => 'courseid',
|
||||
|
Loading…
x
Reference in New Issue
Block a user