Commit 0c2834fe by Taylor Otwell

added more config tests.

parent 018d25c8
......@@ -62,11 +62,15 @@ class ConfigTest extends PHPUnit_Framework_TestCase {
{
$config = IoC::container()->config;
$config->set('application.names.test', 'test');
$config->set('application.url', 'test');
$config->set('session', array());
$config->set('test', array());
$this->assertEquals($config->get('application.names.test'), 'test');
$this->assertEquals($config->get('application.url'), 'test');
$this->assertEquals($config->get('session'), array());
$this->assertEquals($config->get('test'), array());
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment