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; use PhpXmlRpc\Client; use PhpXmlRpc\Request; use PhpXmlRpc\Response; use PhpXmlRpc\Server; use PhpXmlRpc\Value; /** * phpxmlrpc library unit tests. * * @package core * @category test * @copyright 2022 onwards Eloy Lafuente (stronk7) {@link https://stronk7.com} * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class phpxmlrpc_test extends \basic_testcase { /** * Ensure PhpXmlRpc availability. * * This may seem silly, sure it is. But it's a good way to verify * that the Moodle PSR-4 autoloader is working ok. * * @coversNothing */ public function test_phpxmlrpc_availability() { // All these classes need to be at hand. $this->assertInstanceOf(\PhpXmlRpc\Client::class, new Client('https://example.com')); $this->assertInstanceOf(\PhpXmlRpc\Request::class, new Request('')); $this->assertInstanceOf(\PhpXmlRpc\Response::class, new Response('')); $this->assertInstanceOf(\PhpXmlRpc\Server::class, new Server()); $this->assertInstanceOf(\PhpXmlRpc\Value::class, new Value()); // Worth checking that we have removed this. $this->assertFileDoesNotExist(__DIR__ . '/../phpxmlrpc/Autoloader.php'); // We cannnot live without our beloved readme. $this->assertFileExists(__DIR__ . '/../phpxmlrpc/readme_moodle.txt'); } }