EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Base Test re-create application with binding
Yuriic0f946cf788d
diff --git a/tests/integration/Core/BaseTestCase.php b/tests/integration/Core/BaseTestCase.phpindex 458664a511..2d5442b06d 100644--- a/tests/integration/Core/BaseTestCase.php+++ b/tests/integration/Core/BaseTestCase.php@@ -277,9 +277,14 @@ abstract class BaseTestCase extends TestCase* @param bool $reuse Re-use the previous application for performance.* @param bool $noUser Do not set current user. May be needed when testing authentication.*/- protected function reCreateApplication(bool $reuse = false, bool $noUser = false): void- {+ protected function reCreateApplication(+ bool $reuse = false,+ bool $noUser = false,+ ?BindingProcessor $binding = null,+ ): void {+$this->espoApplication = $this->createApplication(+ binding: $binding,reuse: $reuse,noUser: $noUser,);