mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
9a1adda585
While strictly we should not be testing private APIs, in order to get this backported to stables without changing visibility we use reflection to access to such private properties and methods. Also added one exttest to verify user agent is properly sent. Finally, fix some wrong whitespace and changed the helper class name to better alternative.