From 4413871dd0cfbf38fe07247428ddaba04440fd8b Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 9 Jul 2025 13:47:19 +0300 Subject: [PATCH] fix integration tests --- tests/integration/Core/BaseTestCase.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/Core/BaseTestCase.php b/tests/integration/Core/BaseTestCase.php index 84d45a9f90..ca39db84d5 100644 --- a/tests/integration/Core/BaseTestCase.php +++ b/tests/integration/Core/BaseTestCase.php @@ -32,7 +32,6 @@ namespace tests\integration\Core; use Espo\Core\Api\RequestWrapper; use Espo\Core\Api\ResponseWrapper; use Espo\Core\Application; -use Espo\Core\ApplicationRunners\Rebuild; use Espo\Core\Container; use Espo\Core\DataManager; use Espo\Core\InjectableFactory; @@ -48,6 +47,9 @@ use Slim\Psr7\Factory\RequestFactory; use Slim\Psr7\Factory\ResponseFactory; use Slim\Psr7\Factory\StreamFactory; +/** + * Note. Rebuild code were removed after PHPUnit upgrading. + */ abstract class BaseTestCase extends TestCase { private ?Tester $espoTester = null; @@ -162,8 +164,6 @@ abstract class BaseTestCase extends TestCase $this->espoTester = new Tester($params); - $this->espoTester->getApplication(true)->run(Rebuild::class); - $this->beforeSetUp(); $this->espoTester->initialize();