MDL-82596 behat: tidy up existing usage of private files generator.
Filename is no longer required (since 83db25c330), given it never
did anything so can be removed. Requiring the "Private files" block
also isn't necessary since original switch to generator methods.
This commit is contained in:
@@ -10,17 +10,14 @@ Feature: Teachers can embed images into instructions and conclusion fields
|
||||
| username | firstname | lastname | email |
|
||||
| teacher1 | Teacher | One | teacher1@example.com |
|
||||
And the following "user private files" exist:
|
||||
| user | filepath | filename |
|
||||
| teacher1 | mod/workshop/tests/fixtures/moodlelogo.png | moodlelogo.png |
|
||||
| user | filepath |
|
||||
| teacher1 | mod/workshop/tests/fixtures/moodlelogo.png |
|
||||
And the following "courses" exist:
|
||||
| fullname | shortname |
|
||||
| Course 1 | C1 |
|
||||
And the following "course enrolments" exist:
|
||||
| user | course | role |
|
||||
| teacher1 | C1 | editingteacher |
|
||||
And the following "blocks" exist:
|
||||
| blockname | contextlevel | reference | pagetypepattern | defaultregion |
|
||||
| private_files | System | 1 | my-index | side-post |
|
||||
And the following "activities" exist:
|
||||
| activity | course | name |
|
||||
| workshop | C1 | Workshop with embedded images |
|
||||
|
||||
Reference in New Issue
Block a user