diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-09-24 08:59:19 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-24 09:53:09 +0200 |
commit | 70572c1e3cf9e297a49091d31461d50f7611300c (patch) | |
tree | f6f1d1ec9afe703360df975c4aebaf4d607f7a2d /tests | |
parent | 158c962fcc15455085751d8e2dfbf668c7615ba9 (diff) | |
download | nextcloud-server-70572c1e3cf9e297a49091d31461d50f7611300c.tar.gz nextcloud-server-70572c1e3cf9e297a49091d31461d50f7611300c.zip |
Allow `set('column', 'null')` to work like in Doctrine
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/db/querybuilder/quotehelpertest.php | 4 |
1 files changed, 4 insertions, 0 deletions
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'], ]; } |