This commit is contained in:
Yuri Kuznetsov
2025-09-19 13:56:21 +03:00
parent 2015e4edee
commit a31d231a6b
+2 -1
View File
@@ -34,6 +34,7 @@ use Espo\Core\AclManager;
use Espo\Core\Api\ControllerActionProcessor;
use Espo\Core\Api\ResponseWrapper;
use Espo\Core\DataManager;
use Espo\Core\Exceptions\BadRequest;
use Espo\Core\Field\Date;
use Espo\Core\Record\CreateParams;
use Espo\Core\Record\ServiceContainer;
@@ -621,7 +622,7 @@ class AclTest extends \tests\integration\Core\BaseTestCase
->getByClass(ServiceContainer::class)
->getByClass(User::class);
$this->expectException(Forbidden::class);
$this->expectException(BadRequest::class);
$searchParams = SearchParams
::create()