@@ -31,13 +31,13 @@ class ConfigTest extends \PHPUnit_Framework_TestCase
31
31
32
32
public function setUp ()
33
33
{
34
- $ this ->deploymentConfigMock = $ this ->getMock (' Magento\Framework\App\DeploymentConfig ' , [], [], '' , false );
35
- $ this ->appStateMock = $ this ->getMock (' Magento\Framework\App\State ' , [], [], '' , false );
36
- $ this ->scopeConfigMock = $ this ->getMock (' Magento\Framework\App\Config ' , [], [], '' , false );
34
+ $ this ->deploymentConfigMock = $ this ->getMock (\ Magento \Framework \App \DeploymentConfig::class , [], [], '' , false );
35
+ $ this ->appStateMock = $ this ->getMock (\ Magento \Framework \App \State::class , [], [], '' , false );
36
+ $ this ->scopeConfigMock = $ this ->getMock (\ Magento \Framework \App \Config::class , [], [], '' , false );
37
37
38
38
$ objectManager = new \Magento \Framework \TestFramework \Unit \Helper \ObjectManager ($ this );
39
39
$ this ->config = $ objectManager ->getObject (
40
- ' Magento\Framework\Session\SaveHandler\Redis\Config ' ,
40
+ \ Magento \Framework \Session \SaveHandler \Redis \Config::class ,
41
41
[
42
42
'deploymentConfig ' => $ this ->deploymentConfigMock ,
43
43
'appState ' => $ this ->appStateMock ,
0 commit comments