コード例 #1
0
ファイル: Data.php プロジェクト: NatashaOlut/Mage_Test
 /**
  * @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());
 }