feat: Group deck activity settings

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2023-08-22 08:07:03 +02:00
parent af1e413513
commit 8e4c783c97
6 changed files with 103 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ class SettingTest extends TestCase {
/** @var IL10N */
private $l10n;
/** @var Setting */
/** @var SettingBase */
private $setting;
public function setUp(): void {
@@ -38,7 +38,7 @@ class SettingTest extends TestCase {
$this->l10n->expects($this->any())->method('t')->will($this->returnCallback(function ($s) {
return $s;
}));
$this->setting = new Setting($this->l10n);
$this->setting = new SettingChanges($this->l10n);
}
public function testGetIdentifier() {
@@ -46,7 +46,7 @@ class SettingTest extends TestCase {
}
public function testGetName() {
$this->assertEquals('Changes in the <strong>Deck app</strong>', $this->setting->getName());
$this->assertEquals('A <strong>board, list or card</strong> was changed', $this->setting->getName());
}
public function testGetPriority() {