summaryrefslogtreecommitdiff
path: root/tests/units/ConfigTest.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-04 23:31:03 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-04 23:31:03 -0400
commit8e5673e3d289e4d28b4fc9f20721bda9f1c858c7 (patch)
treea5dc3eff7408e8709d20ea92b926c5424d70c5f9 /tests/units/ConfigTest.php
parentf531d57dc27b9d1568de0a10b19f69e8c2b2f156 (diff)
Improve settings page and move some config parameters to the database
Diffstat (limited to 'tests/units/ConfigTest.php')
-rw-r--r--tests/units/ConfigTest.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/units/ConfigTest.php b/tests/units/ConfigTest.php
index 7298936e..4992092b 100644
--- a/tests/units/ConfigTest.php
+++ b/tests/units/ConfigTest.php
@@ -10,14 +10,14 @@ class ConfigTest extends Base
{
$c = new Config($this->registry);
- $this->assertEquals('en_US', $c->get('language'));
- $this->assertEquals('UTC', $c->get('timezone'));
+ $this->assertEquals('en_US', $c->get('application_language'));
+ $this->assertEquals('UTC', $c->get('application_timezone'));
- $this->assertEmpty($c->get('webhooks_url_task_modification'));
- $this->assertEmpty($c->get('webhooks_url_task_creation'));
- $this->assertEmpty($c->get('default_columns'));
+ $this->assertEmpty($c->get('webhook_url_task_modification'));
+ $this->assertEmpty($c->get('webhook_url_task_creation'));
+ $this->assertEmpty($c->get('board_columns'));
- $this->assertNotEmpty($c->get('webhooks_token'));
+ $this->assertNotEmpty($c->get('webhook_token'));
$this->assertNotEmpty($c->get('api_token'));
}
@@ -25,8 +25,8 @@ class ConfigTest extends Base
{
$c = new Config($this->registry);
- $this->assertEquals('', $c->get('default_columns'));
- $this->assertEquals('test', $c->get('default_columns', 'test'));
- $this->assertEquals(0, $c->get('default_columns', 0));
+ $this->assertEquals('', $c->get('board_columns'));
+ $this->assertEquals('test', $c->get('board_columns', 'test'));
+ $this->assertEquals(0, $c->get('board_columns', 0));
}
}