Skip to content

EspoCRM – Open Source CRM Application

fix test

Yuri Kuznetsovb05072d21e72
diff --git a/tests/integration/Espo/Core/Select/SelectBuilderTest.php b/tests/integration/Espo/Core/Select/SelectBuilderTest.php
index 6c6d8be374..f2bab4f4b9 100644
--- a/tests/integration/Espo/Core/Select/SelectBuilderTest.php
+++ b/tests/integration/Espo/Core/Select/SelectBuilderTest.php
@@ -648,7 +648,12 @@ class SelectBuilderTest extends BaseTestCase
Email::ALIAS_INBOX . '.userId' => $userId,
[
'status' => ['Archived', 'Sent'],
- 'groupFolderId' => null,
+ [
+ 'OR' => [
+ 'groupFolderId' => null,
+ 'groupFolderId!=' => [],
+ ]
+ ],
],
'fromEmailAddressId!=' => [$emailAddressId],
[