Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/monara/public_html/test.athavaneng.com/themes.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
. /** * Provides the {@link core_form\external_testcase} class. * * @package core_form * @category test * @copyright 2017 David Mudrák * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace core_form; use advanced_testcase; use external_api; defined('MOODLE_INTERNAL') || die(); global $CFG; /** * Test cases for the {@link core_form\external} class. * * @copyright 2017 David Mudrak * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class external_test extends advanced_testcase { /** * Test the core_form_get_filetypes_browser_data external function */ public function test_get_filetypes_browser_data() { $data = external::get_filetypes_browser_data('', true, ''); $data = external_api::clean_returnvalue(external::get_filetypes_browser_data_returns(), $data); $data = json_decode(json_encode($data)); // The actual data are tested in filetypes_util_test.php, here we just // make sure that the external function wrapper seems to work. $this->assertIsObject($data); $this->assertIsArray($data->groups); } }