This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public function testSalesOrderCreate() | |
| { | |
| $salesOrderService = $this->getKernel()->getContainer()->get('vespolina.order_document'); | |
| $salesOrder = $salesOrderService->createOrder('default_b2c'); | |
| $salesOrderItem1 = $salesOrderService->createItem($salesOrder); | |
| $productA = $this->getMockForAbstractClass('Vespolina\ProductBundle\Model\Product'); | |
| $productB = $this->getMockForAbstractClass('Vespolina\ProductBundle\Model\Product'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vespolina@server:/var/www/vhosts/vespolina.org/httpdocs/vespolina-site# git push origin | |
| Enter passphrase for key '/home/vespolina/.ssh/id_rsa': | |
| Counting objects: 170, done. | |
| Delta compression using up to 8 threads. | |
| fatal: unable to create thread: Resource temporarily unavailable | |
| error: pack-objects died with strange error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Determine how the price will be calculated | |
| $pricingSetConfiguration->addPricingExecutionStep( | |
| new SetPricingElementFromContainerValue( | |
| array('container' => 'net_value', | |
| 'pricing_element' => 'net_value'))); | |
| $pricingSetConfiguration->addPricingExecutionStep( | |
| new SetValue( | |
| array('container' => 'packaging_cost_factor', | |
| 'value' => '0.05'))); |
NewerOlder