save default search options (#2445)
* set default times for daterange objects * allow to show order and order by fields * move search to modal * more options for page size * save export visibility in cookie
This commit is contained in:
@@ -61,15 +61,22 @@ class ConfigExtensionTest extends TestCase
|
||||
'company' => null,
|
||||
'title' => null,
|
||||
],
|
||||
'auto_reload_datatable' => false,
|
||||
];
|
||||
}
|
||||
|
||||
public function testPrefix()
|
||||
{
|
||||
$sut = $this->getSut($this->getDefaultSettings(), []);
|
||||
self::assertFalse($sut->getThemeConfig('auto_reload_datatable'));
|
||||
self::assertEquals(3, $sut->getThemeConfig('active_warning'));
|
||||
self::assertEquals('green', $sut->getThemeConfig('box_color'));
|
||||
}
|
||||
|
||||
/**
|
||||
* @group legacy
|
||||
*/
|
||||
public function testDeprecation()
|
||||
{
|
||||
$sut = $this->getSut($this->getDefaultSettings(), []);
|
||||
self::assertFalse($sut->getThemeConfig('auto_reload_datatable'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user