Merge branch 'MDL-50891_master-unit-test-fix' of git://github.com/dmonllao/moodle

This commit is contained in:
Dan Poltawski 2015-09-02 09:23:07 +01:00
commit b85e8b747c

View File

@ -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.