diff --git a/libraries/classes/Types.php b/libraries/classes/Types.php index 4aa07194ce7..300fad0162a 100644 --- a/libraries/classes/Types.php +++ b/libraries/classes/Types.php @@ -96,8 +96,8 @@ public function getEnumOperators() public function getTextOperators() { return [ - 'LIKE', 'LIKE %...%', + 'LIKE', 'NOT LIKE', 'NOT LIKE %...%', '=', diff --git a/test/classes/TypesTest.php b/test/classes/TypesTest.php index bcde2bde42c..fe88efc17fe 100644 --- a/test/classes/TypesTest.php +++ b/test/classes/TypesTest.php @@ -74,8 +74,8 @@ public function testGetEnumOperators(): void public function testgetTextOperators(): void { self::assertSame([ - 'LIKE', 'LIKE %...%', + 'LIKE', 'NOT LIKE', 'NOT LIKE %...%', '=', @@ -166,8 +166,8 @@ public static function providerForGetTypeOperators(): array 'CHAR', true, [ - 'LIKE', 'LIKE %...%', + 'LIKE', 'NOT LIKE', 'NOT LIKE %...%', '=',