From 56549dafce474d74f32d33f6bf510ec7514283e1 Mon Sep 17 00:00:00 2001
From: kondou <kondou@ts.unde.re>
Date: Fri, 2 Aug 2013 21:27:33 +0200
Subject: [PATCH] Revert "Add null and emptystring tests to check NOT NULL"

This reverts commit c74f3d0b90227f95c1b6d21bbb7ee28561b67446.
---
 tests/lib/appconfig.php | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/tests/lib/appconfig.php b/tests/lib/appconfig.php
index ae08877bd7..c73e528a27 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` = ?');
-- 
GitLab