From cb0916d10e4a42a62f0ac8c69ecb4b7a15f398b4 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 20 Jun 2015 10:48:47 -0400 Subject: Add automatic action to send a task by email --- tests/units/ConfigTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/units/ConfigTest.php') diff --git a/tests/units/ConfigTest.php b/tests/units/ConfigTest.php index b630f284..f93619d6 100644 --- a/tests/units/ConfigTest.php +++ b/tests/units/ConfigTest.php @@ -17,6 +17,7 @@ class ConfigTest extends Base $this->assertEmpty($c->get('webhook_url_task_modification')); $this->assertEmpty($c->get('webhook_url_task_creation')); $this->assertEmpty($c->get('board_columns')); + $this->assertEmpty($c->get('application_url')); $this->assertNotEmpty($c->get('webhook_token')); $this->assertNotEmpty($c->get('api_token')); @@ -55,4 +56,11 @@ class ConfigTest extends Base session_id(''); unset($this->container['session']); } + + public function testSave() + { + $c = new Config($this->container); + $this->assertTrue($c->save(array('application_url' => 'http://localhost/'))); + $this->assertEquals('http://localhost/', $c->get('application_url')); + } } -- cgit v1.2.3