Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38613 Ensure coherence across all steps and tests
  3. MDL-40209

Replace hardcoded language strings for get_string() calls

XMLWordPrintable

    • MOODLE_25_STABLE
    • MOODLE_25_STABLE

      All tests runs in English so there would be no problem if we continue using the hardcoded English strings, but if there are changes in those language strings we will need to update our steps definitions, this issue aim is to replace those hardcoded strings for get_string() calls, so in case there are changes in those strings we don't need to change our steps definitions.

      To explain it a bit more, we hardcode text strings in our .feature files because we are asserting against those strings and they are part of the behaviour description, but when we have steps definitions like I log in as "username" (PHP code) we are also hardcoding language strings when we can perfectly use get_string() calls.

            Unassigned Unassigned
            dmonllao David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.