From 5ecce307205d80253476dc2f39cfc990db742d8d Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 27 Feb 2023 16:11:32 +0200 Subject: [PATCH] fix test --- .../Core/Utils/{ClassFinder.php => ClassFinderTest.php} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename tests/integration/Espo/Core/Utils/{ClassFinder.php => ClassFinderTest.php} (90%) diff --git a/tests/integration/Espo/Core/Utils/ClassFinder.php b/tests/integration/Espo/Core/Utils/ClassFinderTest.php similarity index 90% rename from tests/integration/Espo/Core/Utils/ClassFinder.php rename to tests/integration/Espo/Core/Utils/ClassFinderTest.php index aad96ed3e8..fa2366ee18 100644 --- a/tests/integration/Espo/Core/Utils/ClassFinder.php +++ b/tests/integration/Espo/Core/Utils/ClassFinderTest.php @@ -29,22 +29,22 @@ namespace tests\integration\Espo\Core\Utils; -class ClassFinder extends \tests\integration\Core\BaseTestCase +class ClassFinderTest extends \tests\integration\Core\BaseTestCase { public function testFind1() { $classFinder = $this->getContainer()->get('classFinder'); $this->assertEquals( - '\\Espo\\Modules\\Crm\\Services\\Account', + 'Espo\\Modules\\Crm\\Services\\Account', $classFinder->find('Services', 'Account') ); $this->assertEquals( - '\\Espo\\Services\\Record', + 'Espo\\Services\\Record', $classFinder->find('Services', 'Record') ); - $this->assertTrue(file_exists('data/cache/application/classmap_services.php')); + $this->assertTrue(file_exists('data/cache/application/classmapServices.php')); } }