From 70572c1e3cf9e297a49091d31461d50f7611300c Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 24 Sep 2015 08:59:19 +0200 Subject: Allow `set('column', 'null')` to work like in Doctrine --- tests/lib/db/querybuilder/quotehelpertest.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/lib/db/querybuilder/quotehelpertest.php b/tests/lib/db/querybuilder/quotehelpertest.php index 904b4c500db..b83d9eed2df 100644 --- a/tests/lib/db/querybuilder/quotehelpertest.php +++ b/tests/lib/db/querybuilder/quotehelpertest.php @@ -43,6 +43,10 @@ class QuoteHelperTest extends \Test\TestCase { [new Literal('literal'), 'literal'], [new Literal(1), '1'], [new Parameter(':param'), ':param'], + + // (string) 'null' is Doctrines way to set columns to null + // See https://github.com/owncloud/core/issues/19314 + ['null', 'null'], ]; } -- cgit v1.2.3