-
Improvement
-
Resolution: Fixed
-
Minor
-
3.1.1, 3.2
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
wip-mdl-55522
-
Now and then I find relative dates necessary in my behat tests.
To start with I worked around this issue by creating custom steps.
However, a much better way is to use the translation feature in behat.
This way you can simply do things like:
I should see "the date of next week"
|
And
Given the following "activities" exist:
|
| activity | course | idnumber | name | duedate |
|
| assign | C1 | assign1 | Test assignment1 | the timestamp of tomorrow |
|