Skip to content

Commit

Permalink
FOUR-20506 Fixing inconsistencies in the constructor call.
Browse files Browse the repository at this point in the history
  • Loading branch information
gproly committed Dec 24, 2024
1 parent 46d7540 commit 1e40e5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class TaskSchedulerManagerTest extends TestCase

protected function setUp(): void
{
parent::__construct();
parent::setUp();
$this->manager = new TaskSchedulerManager;
}

Expand Down
6 changes: 2 additions & 4 deletions tests/unit/ProcessMaker/RecommendationEngineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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
{
Expand Down

0 comments on commit 1e40e5f

Please sign in to comment.