/** * @magentoConfigFixture current_store dev/restrict/allow_ips 192.168.0.1 * @magentoAppIsolation enabled */ public function testIsDevAllowedFalse() { $_SERVER['REMOTE_ADDR'] = '192.168.0.3'; $this->assertFalse($this->_helper->isDevAllowed()); }
/** * @magentoConfigFixture current_store dev/restrict/allow_ips 192.168.0.1 * @magentoAppIsolation enabled */ public function testIsDevAllowedFalse() { $_SERVER['REMOTE_ADDR'] = '192.168.0.3'; $this->assertFalse($this->_helper->isDevAllowed()); }