mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
Merge branch 'MDL-50891_master-unit-test-fix' of git://github.com/dmonllao/moodle
This commit is contained in:
commit
b85e8b747c
@ -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