From 3c6ff1141fe449fe1f7ecd917d5e8fa5495ce044 Mon Sep 17 00:00:00 2001 From: Carsten Rose <carsten.rose@math.uzh.ch> Date: Sat, 17 Jun 2017 18:38:53 +0200 Subject: [PATCH] Fixed a unit test issue. --- extension/Documentation/Manual.rst | 18 +++++++++--------- extension/qfq/tests/phpunit/StoreTest.php | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/extension/Documentation/Manual.rst b/extension/Documentation/Manual.rst index 676168320..7e099440a 100644 --- a/extension/Documentation/Manual.rst +++ b/extension/Documentation/Manual.rst @@ -1867,34 +1867,34 @@ Fields: +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ |Encode | 'none', 'specialchar' | With 'specialchar' (default) the chars <>"'& will be encoded to their htmlentity. _`field-encode` | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ -|Check Type | enum('min|max', 'pattern', | _`field-checkType`: | +|Check Type | enum('min|max', 'pattern', | _`field-checkType` | | | 'number', 'email') | | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ |Check Pattern | 'regexp' |If $checkType=='pattern': pattern to match | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ -|Order | string | Display order of *FormElements* ('order' is a reserved keyword) _`field-ord`: | +|Order | string | Display order of *FormElements* ('order' is a reserved keyword) _`field-ord` | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ -|tabindex | string |HTML tabindex attribute _`field-tabindex`: | +|tabindex | string |HTML tabindex attribute _`field-tabindex` | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ |Size | string |Visible length of input element. Might be ommited, depending on the choosen form layout. | -| | |Format: <width>,<height> (in characters) _`field-size`: | +| | |Format: <width>,<height> (in characters) _`field-size` | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ |BS Label Columns | string | Number of bootstrap grid columns for label. By default empty, value inherits from the form. | -| | | _`field-bsLabelColumns`: | +| | | _`field-bsLabelColumns` | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ |BS Input Columns | string | Number of bootstrap grid columns for input. By default empty, value inherits from the form. | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ |BS Note Columns | string | Number of bootstrap grid columns for note. By default empty, value inherits from the form. | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ -|Label / Input / Note | enum(...) | Switch on/off opening|closing of bootstrap form classes _`field-rowLabelInputNote`: | +|Label / Input / Note | enum(...) | Switch on/off opening|closing of bootstrap form classes _`field-rowLabelInputNote` | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ -|Maxlength | string |Maximum characters for input. _`field-maxLength`: | +|Maxlength | string |Maximum characters for input. _`field-maxLength` | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ |Note | string |Note of *FormElement*. Depending on layout model, right or below of the *FormElement*. _`field-note` | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ -|Tooltip | text |Display this text as tooltip on mouse over. _`field-tooltip`: | +|Tooltip | text |Display this text as tooltip on mouse over. _`field-tooltip` | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ -|Placeholder | string |Text, displayed inside the input element in light grey. _`field-placeholder`: | +|Placeholder | string |Text, displayed inside the input element in light grey. _`field-placeholder` | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ |value | text |Default value: See `field-value`_ | +---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+ diff --git a/extension/qfq/tests/phpunit/StoreTest.php b/extension/qfq/tests/phpunit/StoreTest.php index 9e6dd45fa..8f9b76de8 100644 --- a/extension/qfq/tests/phpunit/StoreTest.php +++ b/extension/qfq/tests/phpunit/StoreTest.php @@ -292,7 +292,7 @@ EOT; SYSTEM_GFX_EXTRA_BUTTON_INFO_BELOW => '<span class="glyphicon glyphicon-info-sign text-info" aria-hidden="true"></span>', SYSTEM_DB_UPDATE => SYSTEM_DB_UPDATE_AUTO, - + DOCUMENTATION_QFQ => DOCUMENTATION_QFQ_URL, ]; $fileName = $this->createFile($body); -- GitLab