diff --git a/tests/integration/Espo/Core/Select/SelectBuilderTest.php b/tests/integration/Espo/Core/Select/SelectBuilderTest.php index 8e5543d5f4..b38d8c1138 100644 --- a/tests/integration/Espo/Core/Select/SelectBuilderTest.php +++ b/tests/integration/Espo/Core/Select/SelectBuilderTest.php @@ -844,7 +844,7 @@ class SelectBuilderTest extends \tests\integration\Core\BaseTestCase $expectedWhereClause = [ 'OR' => [ - ['MATCH_NATURAL_LANGUAGE:(name, bodyPlain, body, \'test@test.com\'):' => null], + ['NOT_EQUAL:(MATCH_NATURAL_LANGUAGE:(name, bodyPlain, body, \'test@test.com\'), 0):' => null], ['fromEmailAddressId=' => $emailAddressId], ['emailEmailAddress.emailAddressId=' => $emailAddressId], ],