Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
4d6fa162
Commit
4d6fa162
authored
May 29, 2016
by
Carsten Rose
Browse files
UsersManual/index.rst: typo fixed
StoreTest.php: unit test fixed to run on Jenkins
parent
75c7f039
Changes
2
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/UsersManual/Index.rst
View file @
4d6fa162
...
...
@@ -507,7 +507,7 @@ Class: Native
|class | enum('native', 'action', | Details below. |
| | 'container') | |
+---------------+-----------------------------+---------------------------------------------------------------------------------------------------+
|type | enum('checkbox', 'date', 'time', 'datetime', 'dateJQW', 'datetimeJQW', 'extra', 'gridJQW', 'text', 'note', 'password', |
|type | enum('checkbox', 'date', 'time', 'datetime', 'dateJQW', 'datetimeJQW', 'extra', 'gridJQW', 'text', 'note', 'password',
|
| | 'radio', 'select', 'subrecord', 'textarea', 'timeJQW', 'upload', 'fieldset', 'pill', 'before_load', 'before_save', |
| | 'before_insert', 'before_update', 'before_delete', 'after_load', 'after_save', 'after_insert', 'after_update', 'after_delete', |
| | 'feGroup', 'sendmail') |
...
...
extension/qfq/tests/phpunit/StoreTest.php
View file @
4d6fa162
...
...
@@ -66,17 +66,14 @@ class StoreTest extends \PHPUnit_Framework_TestCase {
public
function
testSetVarStoreSystem
()
{
$dbTest
=
'crose_qfq_db_phpunit'
;
// Sessionname: default value
$this
->
assertEquals
(
$dbTest
,
$this
->
store
->
getVar
(
SYSTEM_
DB_NAM
E
,
STORE_SYSTEM
),
"System:
DB_NAME
"
);
$this
->
assertEquals
(
'all'
,
$this
->
store
->
getVar
(
SYSTEM_
SQL_LOG_MOD
E
,
STORE_SYSTEM
),
"System:
SQL_LOG
"
);
// set new Sessionname
$this
->
store
->
setVar
(
SYSTEM_
DB_NAME
,
"anothername
"
,
STORE_SYSTEM
);
$this
->
store
->
setVar
(
SYSTEM_
SQL_LOG_MODE
,
"modify
"
,
STORE_SYSTEM
);
$this
->
assertEquals
(
'
anothername
'
,
$this
->
store
->
getVar
(
SYSTEM_
DB_NAM
E
,
STORE_SYSTEM
),
"System:
DB_NAME
"
);
$this
->
assertEquals
(
'
modify
'
,
$this
->
store
->
getVar
(
SYSTEM_
SQL_LOG_MOD
E
,
STORE_SYSTEM
),
"System:
SQL_LOG
"
);
// restore for further testing
$this
->
store
->
setVar
(
SYSTEM_DB_NAME
,
$dbTest
,
STORE_SYSTEM
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment