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
.
namespace core;
/**
* Test jQuery integration.
*
* This is not a complete jquery test, it just validates
* Moodle integration is set up properly.
*
* Launch http://127.0.0.1/lib/tests/other/jquerypage.php to
* verify it actually works in browser.
*
* @package core
* @category test
* @copyright 2014 Petr Skoda
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class jquery_test extends \basic_testcase {
public function test_plugins_file() {
global $CFG;
$plugins = null;
require($CFG->libdir . '/jquery/plugins.php');
$this->assertIsArray($plugins);
$this->assertEquals(array('jquery', 'ui', 'ui-css'), array_keys($plugins));
foreach ($plugins as $type => $files) {
foreach ($files['files'] as $file) {
$this->assertFileExists($CFG->libdir . '/jquery/' . $file);
}
}
}
}