|
@@ -451,13 +451,13 @@ class ModelTest extends TestCase
|
|
|
|
|
|
|
|
public function testCommentWithDisabledVizhash()
|
|
public function testCommentWithDisabledVizhash()
|
|
|
{
|
|
{
|
|
|
- $options = parse_ini_file(CONF, true);
|
|
|
|
|
|
|
+ $options = parse_ini_file(CONF, true);
|
|
|
$options['main']['discussiondatedisplay'] = 'false';
|
|
$options['main']['discussiondatedisplay'] = 'false';
|
|
|
- $options['main']['icon'] = 'none';
|
|
|
|
|
- $options['model'] = array(
|
|
|
|
|
|
|
+ $options['main']['icon'] = 'none';
|
|
|
|
|
+ $options['model'] = array(
|
|
|
'class' => 'Database',
|
|
'class' => 'Database',
|
|
|
);
|
|
);
|
|
|
- $options['model_options'] = array(
|
|
|
|
|
|
|
+ $options['model_options'] = array(
|
|
|
'dsn' => 'sqlite::memory:',
|
|
'dsn' => 'sqlite::memory:',
|
|
|
'usr' => null,
|
|
'usr' => null,
|
|
|
'pwd' => null,
|
|
'pwd' => null,
|