From c1292e5a52279eab677539d22da21f6b666ef6b0 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sun, 28 Mar 2021 13:50:34 +0300 Subject: [PATCH] remove test --- .../unit/Espo/Core/Utils/ScheduledJobTest.php | 76 ------------------- 1 file changed, 76 deletions(-) delete mode 100644 tests/unit/Espo/Core/Utils/ScheduledJobTest.php diff --git a/tests/unit/Espo/Core/Utils/ScheduledJobTest.php b/tests/unit/Espo/Core/Utils/ScheduledJobTest.php deleted file mode 100644 index c587cdd18a..0000000000 --- a/tests/unit/Espo/Core/Utils/ScheduledJobTest.php +++ /dev/null @@ -1,76 +0,0 @@ - 'linux command', - 'windows' => 'windows command', - 'mac' => 'mac command', - 'default' => 'default command', - ); - - protected function setUp() : void - { - $this->classFinder = - $this->getMockBuilder('Espo\Core\Utils\ClassFinder')->disableOriginalConstructor()->getMock(); - - $this->language = $this->getMockBuilder('Espo\Core\Utils\Language')->disableOriginalConstructor()->getMock(); - - $this->entityManager = - $this->getMockBuilder('Espo\Core\ORM\EntityManager')->disableOriginalConstructor()->getMock(); - - $this->object = new ScheduledJob( - $this->classFinder, - $this->entityManager, - $this->language - ); - - $this->reflection = new ReflectionHelper($this->object); - - $this->reflection->setProperty('cronSetup', $this->cronSetup); - } - - protected function tearDown() : void - { - $this->object = NULL; - } -}