diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-08-19 06:31:22 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-08-19 06:31:22 +0300 |
commit | 0b2ab57ea22b0386782bd87c433220e2856971e6 (patch) | |
tree | 7a1276e862dc6c7204ccfa2b66bcbe429cc111b3 /test | |
parent | a2ef27823e27b612eaabda3e134692a5e5929220 (diff) | |
parent | 9c3ce37491a20e06e582aa1c67b4480b5cd9aff2 (diff) |
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test')
-rw-r--r-- | test/classes/InsertEditTest.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/classes/InsertEditTest.php b/test/classes/InsertEditTest.php index af43d48400..06049ad39a 100644 --- a/test/classes/InsertEditTest.php +++ b/test/classes/InsertEditTest.php @@ -2217,6 +2217,30 @@ class InsertEditTest extends AbstractTestCase ], $result ); + + // Test to see if a field can be set to NULL + $result = $this->insertEdit->getQueryValuesForInsertAndUpdateInMultipleEdit( + $multi_edit_columns_name, + ['on'], + '', + [''], + [], + false, + [], + [], + 'NULL', + [], + '0', + [] + ); + + $this->assertEquals( + [ + ['`fld` = NULL'], + [], + ], + $result + ); } /** |