Skip to content

Commit fdcb73d

Browse files
committed
AC-9749: PHPUnit 10 fixes
1 parent 70585bd commit fdcb73d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Composer/MagentoComposerApplicationTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ class MagentoComposerApplicationTest extends \PHPUnit\Framework\TestCase
3434

3535
protected function setUp(): void
3636
{
37-
$this->composerApplication = $this->createMock(\Composer\Console\Application::class);
37+
$this->composerApplication = $this->getMockBuilder('Composer\Console\Application')
38+
->getMock();
3839
$this->inputFactory = $this->createMock(\Magento\Composer\ConsoleArrayInputFactory::class);
3940
$this->consoleOutput = $this->createMock(\Symfony\Component\Console\Output\BufferedOutput::class);
4041

0 commit comments

Comments
 (0)