mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 08:30:04 +01:00
MDL-50891 core_useragent: Restore default after tests
This commit is contained in:
parent
8b25614c93
commit
c3e1c9b1f3
@ -31,6 +31,13 @@
|
||||
*/
|
||||
class core_useragent_testcase extends basic_testcase {
|
||||
|
||||
/**
|
||||
* Restores the user agent to the default one.
|
||||
*/
|
||||
public function tearDown() {
|
||||
core_useragent::instance(true);
|
||||
}
|
||||
|
||||
public function user_agents_providers() {
|
||||
// Note: When adding new entries to this list, please ensure that any new browser versions are added to the corresponding list.
|
||||
// This ensures that regression tests are applied to all known user agents.
|
||||
|
Loading…
x
Reference in New Issue
Block a user