21 $this->_object = $this->createPartialMock(
22 \
Magento\TestFramework\Annotation\ConfigFixture::class,
23 [
'_getConfigValue',
'_setConfigValue']
32 $this->_object->expects(
37 'web/unsecure/base_url' 39 $this->returnValue(
'http://localhost/')
41 $this->_object->expects(
46 'web/unsecure/base_url',
49 $this->_object->startTest($this);
51 $this->_object->expects(
56 'web/unsecure/base_url',
59 $this->_object->endTest($this);
67 $this->_object->expects(
72 'dev/restrict/allow_ips',
75 $this->returnValue(
'127.0.0.1')
77 $this->_object->expects(
82 'dev/restrict/allow_ips',
86 $this->_object->startTest($this);
88 $this->_object->expects(
93 'dev/restrict/allow_ips',
97 $this->_object->endTest($this);
105 $this->_object->expects(
110 'dev/restrict/allow_ips',
113 $this->returnValue(
'192.168.0.1')
115 $this->_object->expects(
120 'dev/restrict/allow_ips',
124 $this->_object->startTest($this);
126 $this->_object->expects(
131 'dev/restrict/allow_ips',
135 $this->_object->endTest($this);
140 $this->_object->expects($this->never())->method(
'_getConfigValue');
141 $this->_object->expects($this->never())->method(
'_setConfigValue');
142 $this->_object->initStoreAfter();
150 $this->_object->startTest($this);
151 $this->_object->expects(
156 'web/unsecure/base_url' 158 $this->returnValue(
'http://localhost/')
160 $this->_object->expects(
165 'web/unsecure/base_url',
166 'http://example.com/' 168 $this->_object->initStoreAfter();
testSpecificStoreConfig()
testInitStoreAfterOfScope()