MDL-24116 disabling test UI in XMLDB - this is a first step only, going to migrate this completely to DML/DDL functional tests soon
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
* This class will show all the actions available under the XMLDB editor interface
|
||||
*
|
||||
* From here, files can be created, edited, saved and deleted, plus some
|
||||
* extra utilities like displaying docs, xml info and performing various tests
|
||||
* extra utilities like displaying docs, xml info and performing various consistency tests
|
||||
*
|
||||
* @package xmldb-editor
|
||||
* @copyright 2003 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
|
||||
@@ -52,7 +52,6 @@ class main_view extends XMLDBAction {
|
||||
'unload' => 'xmldb',
|
||||
'delete' => 'xmldb',
|
||||
'reservedwords' => 'xmldb',
|
||||
'test' => 'xmldb',
|
||||
'gotolastused' => 'xmldb',
|
||||
'checkindexes' => 'xmldb',
|
||||
'checkdefaults' => 'xmldb',
|
||||
@@ -95,8 +94,6 @@ class main_view extends XMLDBAction {
|
||||
$b = '<p class="centerpara buttons">';
|
||||
/// The reserved_words button
|
||||
$b .= ' <a href="index.php?action=view_reserved_words">[' . $this->str['reservedwords'] . ']</a>';
|
||||
/// The test button
|
||||
$b .= ' <a href="index.php?action=test&sesskey=' . sesskey() . '">[' . $this->str['test'] . ']</a>';
|
||||
/// The docs button
|
||||
$b .= ' <a href="index.php?action=generate_all_documentation">[' . $this->str['doc'] . ']</a>';
|
||||
/// The check indexes button
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
*/
|
||||
class test extends XMLDBAction {
|
||||
|
||||
//TODO: MDL-24116 content of this file is being migrated to DDL/DML functional tests, this script is not referenced from UI any more and will be deleted soon
|
||||
|
||||
/**
|
||||
* Init method, every subclass will have its own
|
||||
*/
|
||||
|
||||
@@ -149,7 +149,6 @@ $string['selectonefieldkeyindex'] = 'Please, select one Field/Key/Index from the
|
||||
$string['selecttable'] = 'Select Table:';
|
||||
$string['table'] = 'Table';
|
||||
$string['tables'] = 'Tables';
|
||||
$string['test'] = 'Test';
|
||||
$string['textincorrectlength'] = 'Incorrect length for text field';
|
||||
$string['unload'] = 'Unload';
|
||||
$string['up'] = 'Up';
|
||||
|
||||
Reference in New Issue
Block a user