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
44
44
*/
45
45
private $ command ;
46
46
47
- protected function setUp ()
47
+ protected function setUp (): void
48
48
{
49
49
$ this ->componentRegistrarMock = $ this ->createMock (ComponentRegistrar::class);
50
50
$ this ->directoryListMock = $ this ->createMock (DirectoryList::class);
@@ -86,7 +86,7 @@ public function testExecute()
86
86
GeneratePatchCommand::INPUT_KEY_PATCH_NAME => 'SomePatch '
87
87
]
88
88
);
89
- $ this ->assertContains ('successfully generated ' , $ commandTester ->getDisplay ());
89
+ $ this ->assertStringContainsString ('successfully generated ' , $ commandTester ->getDisplay ());
90
90
}
91
91
92
92
public function testWrongParameter ()
You can’t perform that action at this time.
0 commit comments