summaryrefslogtreecommitdiffstats
path: root/tests/lib/appconfig.php
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-02 21:27:33 +0200
committerkondou <kondou@ts.unde.re>2013-08-02 21:27:33 +0200
commit56549dafce474d74f32d33f6bf510ec7514283e1 (patch)
tree1449caee23b502d222e0e8127ea400160f918061 /tests/lib/appconfig.php
parentc74f3d0b90227f95c1b6d21bbb7ee28561b67446 (diff)
downloadnextcloud-server-56549dafce474d74f32d33f6bf510ec7514283e1.tar.gz
nextcloud-server-56549dafce474d74f32d33f6bf510ec7514283e1.zip
Revert "Add null and emptystring tests to check NOT NULL"
This reverts commit c74f3d0b90227f95c1b6d21bbb7ee28561b67446.
Diffstat (limited to 'tests/lib/appconfig.php')
-rw-r--r--tests/lib/appconfig.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/lib/appconfig.php b/tests/lib/appconfig.php
index ae08877bd7f..c73e528a277 100644
--- a/tests/lib/appconfig.php
+++ b/tests/lib/appconfig.php
@@ -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` = ?');