Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
wiki.bernardino.org /
tests /
phpunit /
docs /
Delete
Unzip
Name
Size
Permission
Date
Action
ExportDemoTest.php
682
B
-rw-r--r--
2016-11-28 20:20
Save
Rename
<?php /** * Test making sure the demo export xml is valid. * This is NOT a unit test * * @group Dump * @group large */ class ExportDemoTest extends DumpTestCase { public function testExportDemo() { $fname = "../../docs/export-demo.xml"; $version = WikiExporter::schemaVersion(); $dom = new DomDocument(); $dom->load( $fname ); // Ensure, the demo is for the current version $this->assertEquals( $dom->documentElement->getAttribute( 'version' ), $version, 'export-demo.xml should have the current version' ); $this->assertTrue( $dom->schemaValidate( "../../docs/export-" . $version . ".xsd" ), "schemaValidate has found an error" ); } }