@@ -54,7 +54,8 @@ public function setUp()
54
54
$ this ->webLogger = $ this ->getMock (\Magento \Setup \Model \WebLogger::class, [], [], '' , false );
55
55
$ installerFactory = $ this ->getMock (\Magento \Setup \Model \InstallerFactory::class, [], [], '' , false );
56
56
$ this ->installer = $ this ->getMock (\Magento \Setup \Model \Installer::class, [], [], '' , false );
57
- $ this ->progressFactory = $ this ->getMock (\Magento \Setup \Model \Installer \ProgressFactory::class, [], [], '' , false );
57
+ $ this ->progressFactory =
58
+ $ this ->getMock (\Magento \Setup \Model \Installer \ProgressFactory::class, [], [], '' , false );
58
59
$ this ->sampleDataState = $ this ->getMock (\Magento \Framework \Setup \SampleData \State::class, [], [], '' , false );
59
60
$ this ->deploymentConfig = $ this ->getMock (\Magento \Framework \App \DeploymentConfig::class, [], [], '' , false );
60
61
$ this ->requestDataConverter = $ this ->getMock (RequestDataConverter::class, [], [], '' , false );
@@ -100,7 +101,7 @@ public function testStartActionPriorInstallException()
100
101
$ this ->installer ->expects ($ this ->never ())->method ('getInstallInfo ' );
101
102
$ this ->deploymentConfig ->expects ($ this ->once ())->method ('isAvailable ' )->willReturn (true );
102
103
$ jsonModel = $ this ->controller ->startAction ();
103
- $ this ->assertInstanceOf (' \Zend\View\Model\JsonModel ' , $ jsonModel );
104
+ $ this ->assertInstanceOf (\Zend \View \Model \JsonModel::class , $ jsonModel );
104
105
$ variables = $ jsonModel ->getVariables ();
105
106
$ this ->assertArrayHasKey ('success ' , $ variables );
106
107
$ this ->assertArrayHasKey ('messages ' , $ variables );
0 commit comments