@@ -91,9 +91,9 @@ private function getModel($uri = null, $mockAppConfig = true)
91
91
]
92
92
);
93
93
94
- if ($ mockAppConfig ){
95
- $ MockAppConfig = $ this ->getMock (\Magento \Framework \App \Config::class, [], [], '' , false );
96
- $ this ->objectManager ->setBackwardCompatibleProperty ($ model , 'appConfig ' , $ MockAppConfig );
94
+ if ($ mockAppConfig ) {
95
+ $ mockConfig = $ this ->getMock (\Magento \Framework \App \Config::class, [], [], '' , false );
96
+ $ this ->objectManager ->setBackwardCompatibleProperty ($ model , 'appConfig ' , $ mockConfig );
97
97
}
98
98
99
99
return $ model ;
@@ -347,8 +347,8 @@ public function testIsSecure($isSecure, $serverHttps, $headerOffloadKey, $header
347
347
->with (\Magento \Framework \App \Request \Http::XML_PATH_OFFLOADER_HEADER , ScopeConfigInterface::SCOPE_TYPE_DEFAULT )
348
348
->willReturn ($ configOffloadHeader );
349
349
350
- $ this ->objectManager ->setBackwardCompatibleProperty ($ this ->_model ,'appConfig ' , $ configMock );
351
- $ this ->objectManager ->setBackwardCompatibleProperty ($ this ->_model , 'SSLOffloadHeader ' , null );
350
+ $ this ->objectManager ->setBackwardCompatibleProperty ($ this ->_model , 'appConfig ' , $ configMock );
351
+ $ this ->objectManager ->setBackwardCompatibleProperty ($ this ->_model , 'SSLOffloadHeader ' , null );
352
352
353
353
$ this ->_model ->getServer ()->set ($ headerOffloadKey , $ headerOffloadValue );
354
354
$ this ->_model ->getServer ()->set ('HTTPS ' , $ serverHttps );
0 commit comments