Revert "Add null and emptystring tests to check NOT NULL"

This reverts commit c74f3d0b90.
This commit is contained in:
kondou 2013-08-02 21:27:33 +02:00
parent c74f3d0b90
commit 56549dafce
1 changed files with 0 additions and 14 deletions

View File

@ -86,20 +86,6 @@ class Test_Appconfig extends PHPUnit_Framework_TestCase {
$this->assertEquals('somevalue', $value['configvalue']);
}
/**
* @expectedException \Doctrine\DBAL\DBALException
*/
public function testSetValueNull() {
\OC_Appconfig::setValue('testapp', 'installed_version', null);
}
/**
* @expectedException \Doctrine\DBAL\DBALException
*/
public function testSetValueEmptyString() {
\OC_Appconfig::setValue('testapp', '', '1.33.7');
}
public function testDeleteKey() {
\OC_Appconfig::deleteKey('testapp', 'deletethis');
$query = \OC_DB::prepare('SELECT `configvalue` FROM `*PREFIX*appconfig` WHERE `appid` = ? AND `configkey` = ?');