. */ class Test_OCPConfig extends \Test\TestCase { public function testSetAppValueIfSetToNull() { $key = $this->getUniqueID('key-'); $result = \OCP\Config::setAppValue('unit-test', $key, null); $this->assertTrue($result); $result = \OCP\Config::setAppValue('unit-test', $key, '12'); $this->assertTrue($result); } }