feat: Added config html page for storages on baikal browser
feat(tw): Used RELATED-TO iCal prop as depends prop feat(tw): Used DESCRIPTION iCal prop as annotations refactor(tw): Changed project_tag_prefix to project_category_prefix chore(tw): Added documentation on configs
This commit is contained in:
@@ -30,8 +30,7 @@ class StorageManagerTest extends TestCase {
|
||||
$this->mockLogger = $this->createMock(Logger::class);
|
||||
$this->configs = [
|
||||
'general' => [
|
||||
'logger' => ['file' => '', 'level'=> 'DEBUG', 'enabled' => true],
|
||||
'timezone' => 'UTC'
|
||||
'logger' => ['file' => '', 'level'=> 'DEBUG', 'enabled' => true]
|
||||
],
|
||||
'storages' => [
|
||||
'taskwarrior' => ['taskrc' => '', 'taskdata' => '']
|
||||
@@ -44,7 +43,7 @@ public function testAddTaskwarriorStorage() {
|
||||
$manager = new StorageManager($this->mockConfigBuilder);
|
||||
$manager->addStorage(Taskwarrior::NAME, $tw);
|
||||
$storages = $manager->getStorages();
|
||||
$configs = $manager->getConfigs();
|
||||
$this->configs = $manager->getConfigs();
|
||||
$this->assertEquals(sizeof(array_keys($storages)), 1, 'Taskwarrior storage was not added');
|
||||
$this->assertArrayHasKey('taskwarrior', $storages, 'Storages should have taskwarrior');
|
||||
}
|
||||
|
Reference in New Issue
Block a user