Commit 4efd7152 authored by aspilicious's avatar aspilicious
Browse files

fixed config.test

parent 1ded67b1
......@@ -102,8 +102,8 @@ class FileContentsTestCase extends DrupalWebTestCase {
*/
public function testReadWriteConfig() {
$config = config('foo.bar');
$config->foo = 'bar';
$config->set('foo', 'bar');
$config->save();
$this->assertEqual('bar', config('foo.bar')->foo, 'Content retrived from written config data.');
$this->assertEqual('bar', config('foo.bar')->get('foo'), 'Content retrived from written config data.');
}
}
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