We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 347602f commit 75bb2c3Copy full SHA for 75bb2c3
app/code/Magento/Developer/Test/Unit/Console/Command/GeneratePatchCommandTest.php
@@ -44,7 +44,7 @@ class GeneratePatchCommandTest extends TestCase
44
*/
45
private $command;
46
47
- protected function setUp()
+ protected function setUp(): void
48
{
49
$this->componentRegistrarMock = $this->createMock(ComponentRegistrar::class);
50
$this->directoryListMock = $this->createMock(DirectoryList::class);
@@ -86,7 +86,7 @@ public function testExecute()
86
GeneratePatchCommand::INPUT_KEY_PATCH_NAME => 'SomePatch'
87
]
88
);
89
- $this->assertContains('successfully generated', $commandTester->getDisplay());
+ $this->assertStringContainsString('successfully generated', $commandTester->getDisplay());
90
}
91
92
public function testWrongParameter()
0 commit comments