MDL-75275 mod_data: Add user support to entry behat generator
commitfd1b874449ba11fbf27552c2d1f60dddccb9f4cd
authorSara Arjona <sara@moodle.com>
Mon, 8 Aug 2022 13:23:00 +0000 (8 15:23 +0200)
committerSara Arjona <sara@moodle.com>
Fri, 19 Aug 2022 06:38:32 +0000 (19 08:38 +0200)
treeb2a2367fe26e994ed381208dda019cc4d245fdd8
parent17ee0726933c7c6410aca0e1edc445f795774c07
MDL-75275 mod_data: Add user support to entry behat generator

The 'user' parameter has been added to the 'mod_data > entries'
generator, to let define the author of the entry.
When it's not defined, admin is used as the author.
mod/data/tests/generator/behat_mod_data_generator.php
mod/data/tests/generator/lib.php