-
Bug
-
Resolution: Fixed
-
Blocker
-
4.3
-
MOODLE_403_STABLE
-
MOODLE_403_STABLE
-
MDL-78723-master -
-
6
-
Team Hedgehog 2023 Review 2
- it assumes that your account lives on the organisations home server
- it assumes a particular format for usernames (which actually remove parts of the URL)
- it will not let you use a home server with a name containing more than one ., for example matrix.moodle.org will become matrix
- set_qualified_matrix_user_id is actually a formatter which does not store anything
- set_matrix_home_server is actualy a formatter which does not store anything
In addition:
- it will create the field when fetching, but not when setting a value
- the tests are unnecessarily using various mock. They should not be. These should be incredibly simple tests that (sadly) use the DB.