File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Developer/Test/Unit/Console/Command Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class GeneratePatchCommandTest extends TestCase
4444 */
4545 private $ command ;
4646
47- protected function setUp ()
47+ protected function setUp (): void
4848 {
4949 $ this ->componentRegistrarMock = $ this ->createMock (ComponentRegistrar::class);
5050 $ this ->directoryListMock = $ this ->createMock (DirectoryList::class);
@@ -86,7 +86,7 @@ public function testExecute()
8686 GeneratePatchCommand::INPUT_KEY_PATCH_NAME => 'SomePatch '
8787 ]
8888 );
89- $ this ->assertContains ('successfully generated ' , $ commandTester ->getDisplay ());
89+ $ this ->assertStringContainsString ('successfully generated ' , $ commandTester ->getDisplay ());
9090 }
9191
9292 public function testWrongParameter ()
You can’t perform that action at this time.
0 commit comments