diff --git a/tests/unit/ProcessMaker/Managers/TaskSchedulerManagerTest.php b/tests/unit/ProcessMaker/Managers/TaskSchedulerManagerTest.php index 44b1939558..7937ed4211 100644 --- a/tests/unit/ProcessMaker/Managers/TaskSchedulerManagerTest.php +++ b/tests/unit/ProcessMaker/Managers/TaskSchedulerManagerTest.php @@ -15,7 +15,7 @@ class TaskSchedulerManagerTest extends TestCase protected function setUp(): void { - parent::__construct(); + parent::setUp(); $this->manager = new TaskSchedulerManager; } diff --git a/tests/unit/ProcessMaker/RecommendationEngineTest.php b/tests/unit/ProcessMaker/RecommendationEngineTest.php index 890dfcb8c0..789c37a7fc 100644 --- a/tests/unit/ProcessMaker/RecommendationEngineTest.php +++ b/tests/unit/ProcessMaker/RecommendationEngineTest.php @@ -24,9 +24,9 @@ class RecommendationEngineTest extends TestCase private SyncRecommendations $syncRecommendations; - public function __construct() + public function setUp(): void { - parent::__construct(); + parent::setUp(); $this->syncRecommendations = app(SyncRecommendations::class); } @@ -179,8 +179,6 @@ public function testRecommendationsSync(): void /** * Use a factory to generate a Recommendation model's data * without persisting it to use as mock JSON responses - * - * @return array */ protected function generateModelData(): array {