Skip to content

Commit 322f07c

Browse files
authored
Merge pull request #213 from dpDesignz/master
Update Constants.php
2 parents f21aeb5 + dc37b85 commit 322f07c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/Constants.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
\define('_BETWEEN', 'BETWEEN');
4040
\define('_notBETWEEN', 'NOT BETWEEN');
4141

42-
\define('_isNULL', 'IS NULL');
43-
\define('_notNULL', 'IS NOT NULL');
42+
\define('_isNULL', 'IS');
43+
\define('_notNULL', 'IS NOT');
4444
\define('_BOOLEAN_OPERATORS', [
4545
'<', '>', '=', '!=', '>=', '<=', '<>',
4646
'IN', 'LIKE', 'NOT LIKE', 'BETWEEN', 'NOT BETWEEN', 'IS', 'IS NOT'

tests/ezFunctionsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,13 @@ public function testGte()
176176
public function testIsNull()
177177
{
178178
$this->assertIsArray(isNull('field'));
179-
$this->assertArraySubset([2 => 'null'], isNull('field'));
179+
$this->assertArraySubset([2 => 'NULL'], isNull('field'));
180180
}
181181

182182
public function testIsNotNull()
183183
{
184184
$this->assertIsArray(isNotNull('field'));
185-
$this->assertArraySubset([2 => 'null'], isNotNull('field'));
185+
$this->assertArraySubset([2 => 'NULL'], isNotNull('field'));
186186
}
187187

188188
public function testLike()

0 commit comments

Comments
 (0)