Commit 4d6fa162 authored by Carsten  Rose's avatar Carsten Rose
Browse files

UsersManual/index.rst: typo fixed

StoreTest.php: unit test fixed to run on Jenkins
parent 75c7f039
......@@ -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') |
......
......@@ -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_NAME, STORE_SYSTEM), "System: DB_NAME");
$this->assertEquals('all', $this->store->getVar(SYSTEM_SQL_LOG_MODE, 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_NAME, STORE_SYSTEM), "System: DB_NAME");
$this->assertEquals('modify', $this->store->getVar(SYSTEM_SQL_LOG_MODE, STORE_SYSTEM), "System: SQL_LOG");
// restore for further testing
$this->store->setVar(SYSTEM_DB_NAME, $dbTest, STORE_SYSTEM);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment