From d0a9211f5142eef84110527fd6553837cd4d1da7 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Wed, 6 Nov 2019 23:57:53 +0800 Subject: [PATCH] MDL-67148 tool_mobile: Set auth_cas|auth_name config value in unit test Thanks to Renaat Debleu for the fix suggestion! --- admin/tool/mobile/tests/externallib_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/tool/mobile/tests/externallib_test.php b/admin/tool/mobile/tests/externallib_test.php index 1dbdf3b27e1..9534f05f4f4 100644 --- a/admin/tool/mobile/tests/externallib_test.php +++ b/admin/tool/mobile/tests/externallib_test.php @@ -127,7 +127,7 @@ class tool_mobile_external_testcase extends externallib_advanced_testcase { set_config('hostname', 'localhost', 'auth_cas'); set_config('auth_logo', 'http://invalidurl.com//invalid/', 'auth_cas'); - + set_config('auth_name', 'CAS', 'auth_cas'); set_config('auth', 'oauth2,cas'); list($authinstructions, $notusedformat) = external_format_text($authinstructions, FORMAT_MOODLE, $context->id);