Ejemplo n.º 1
0
 /**
  * @expectedException Mage_Core_Exception
  */
 public function testValidateDuplicateWebsite()
 {
     $product = new Varien_Object();
     $product->setTierPrice(array(array('website_id' => 0, 'cust_group' => 1, 'price_qty' => 2, 'price' => 8), array('website_id' => 0, 'cust_group' => 1, 'price_qty' => 5, 'price' => 5), array('website_id' => 1, 'cust_group' => 1, 'price_qty' => 5, 'price' => 5)));
     $this->_model->validate($product);
 }