Skip to content

EspoCRM – Open Source CRM Application

fix test

Yuriiddfd095f7da6
diff --git a/tests/integration/Espo/Role/ServiceTest.php b/tests/integration/Espo/Role/ServiceTest.php
index 2d08fbed7c..2ec8db6049 100644
--- a/tests/integration/Espo/Role/ServiceTest.php
+++ b/tests/integration/Espo/Role/ServiceTest.php
@@ -107,7 +107,7 @@ class ServiceTest extends BaseTestCase
Account::ENTITY_TYPE => (object) [
Table::ACTION_CREATE => Table::LEVEL_YES,
Table::ACTION_READ => Table::LEVEL_ALL,
- Table::ACTION_EDIT => TablePortal::LEVEL_CONTACT,
+ Table::ACTION_EDIT => TablePortal::LEVEL_ACCOUNT,
Table::ACTION_DELETE => Table::LEVEL_NO,
Table::ACTION_STREAM => TablePortal::LEVEL_ACCOUNT,
],