Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mirko-pagliai committed May 7, 2024
1 parent 2e81d91 commit 20fb176
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/TestCase/TestSuite/TestCaseTest.php
Expand Up @@ -36,7 +36,9 @@ public function setUp(): void
{
parent::setUp();

$this->TestCase ??= new class ('myTest') extends TestCase {};
$this->TestCase ??= $this->getMockBuilder(TestCase::class)
->disableOriginalConstructor()
->getMock();
}

/**
Expand Down

0 comments on commit 20fb176

Please sign in to comment.