MDL-59581 database: remove mssql_native_moodle_database test from auth
authorJake Dallimore <jake@moodle.com>
Thu, 21 Sep 2017 07:25:48 +0000 (15:25 +0800)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Sun, 8 Apr 2018 23:59:16 +0000 (01:59 +0200)
auth/db/tests/db_test.php

index 2900719..fd6a62c 100644 (file)
@@ -97,11 +97,7 @@ class auth_db_testcase extends advanced_testcase {
                 break;
 
             case 'mssql':
-                if (get_class($DB) == 'mssql_native_moodle_database') {
-                    set_config('type', 'mssql_n', 'auth_db');
-                } else {
-                    set_config('type', 'mssqlnative', 'auth_db');
-                }
+                set_config('type', 'mssqlnative', 'auth_db');
                 set_config('sybasequoting', '1', 'auth_db');
                 break;