added option to use only pre-defined tags (#1463)

This commit is contained in:
Kevin Papst
2020-02-12 15:35:42 +01:00
committed by GitHub
parent 847798eec1
commit 1b4f4bba22
16 changed files with 103 additions and 24 deletions

View File

@@ -48,6 +48,7 @@ class ThemeConfigurationTest extends TestCase
'title' => null,
],
'auto_reload_datatable' => false,
'tags_create' => true,
];
}
@@ -61,7 +62,16 @@ class ThemeConfigurationTest extends TestCase
{
$sut = $this->getSut($this->getDefaultSettings(), []);
$this->assertFalse($sut->isAutoReloadDatatable());
$this->assertEquals('', $sut->getSelectPicker());
$this->assertTrue($sut->isAllowTagCreation());
$this->assertNull($sut->getTitle());
}
/**
* @group legacy
*/
public function testDeprecations()
{
$sut = $this->getSut($this->getDefaultSettings(), []);
$this->assertEquals('', $sut->getSelectPicker());
}
}