Skip to content

EspoCRM – Open Source CRM Application

Test fix

Yurii54bfaf847a6a
diff --git a/tests/integration/Espo/Core/Utils/Database/RebuildTest.php b/tests/integration/Espo/Core/Utils/Database/RebuildTest.php
index 0752c1e243..046571593b 100644
--- a/tests/integration/Espo/Core/Utils/Database/RebuildTest.php
+++ b/tests/integration/Espo/Core/Utils/Database/RebuildTest.php
@@ -183,10 +183,8 @@ class RebuildTest extends BaseTestCase
$this->assertEquals(null, $entity->get('testSecond'));
//
- if ($this->getPlatform() === Platform::POSTGRESQL) {
- $entity->set('testSecond', 4);
- $em->saveEntity($entity);
- }
+ $entity->set('testSecond', 4);
+ $em->saveEntity($entity);
// Enable autoincrement back.