EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Test ref
Yuriiaf3c8afc2caf
diff --git a/tests/integration/Espo/User/AccessTest.php b/tests/integration/Espo/User/AccessTest.phpindex 4bb13a0da3..261e75f1c6 100644--- a/tests/integration/Espo/User/AccessTest.php+++ b/tests/integration/Espo/User/AccessTest.php@@ -109,13 +109,13 @@ class AccessTest extends BaseTestCaserecord\update('User', '{{id}}', $data);EOT;+ $script = strtr($script, [+ '{{id}}' => $userRegular->getId(),+ ]);+$thrown = false;try {- $script = strtr($script, [- '{{id}}' => $userRegular->getId(),- ]);-$fm->run($script);} catch (NotAllowedUsage) {$thrown = true;