@@ -43,8 +43,7 @@ |
||
| 43 | 43 | $key, |
| 44 | 44 | $store->getStoreId() |
| 45 | 45 | ); |
| 46 | - switch ($store->getStoreId()) |
|
| 47 | - { |
|
| 46 | + switch ($store->getStoreId()) { |
|
| 48 | 47 | case 2: // Test Team USA Store is configured to default to website language |
| 49 | 48 | $this->assertEquals( |
| 50 | 49 | 'default_lang', |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -57,16 +57,16 @@ |
||
| 57 | 57 | $inventoriedSku = Mage::getModel('sales/quote_item', ['product' => $inventoriedProduct]); |
| 58 | 58 | $nonInventoriedSku = Mage::getModel('sales/quote_item', ['product' => $nonInventoriedProduct]); |
| 59 | 59 | $overrideInventoriedSku = Mage::getModel('sales/quote_item', ['product' => $overrideInventoriedProduct]); |
| 60 | - $inventoriedChildSku = Mage::getModel('sales/quote_item', ['product' => $inventoriedProduct, 'parent_item_id' => 2,]); |
|
| 60 | + $inventoriedChildSku = Mage::getModel('sales/quote_item', ['product' => $inventoriedProduct, 'parent_item_id' => 2, ]); |
|
| 61 | 61 | |
| 62 | 62 | $childInventoriesParentSku = Mage::getModel('sales/quote_item', ['product' => $nonInventoriedProduct]); |
| 63 | 63 | $childInventoriesParentSku->addChild($inventoriedChildSku); |
| 64 | 64 | |
| 65 | 65 | return [ |
| 66 | - [$inventoriedSku, true], // Set by ROM to be inventoried |
|
| 67 | - [$nonInventoriedSku, true], // Set by ROM to not be inventoried |
|
| 68 | - [$overrideInventoriedSku, false], // Set by ROM to be inventoried, but overridden by manage-stock flag |
|
| 69 | - [$inventoriedChildSku, false], // Set by ROM to be inventoried, but has parent, so no check |
|
| 66 | + [$inventoriedSku, true], // Set by ROM to be inventoried |
|
| 67 | + [$nonInventoriedSku, true], // Set by ROM to not be inventoried |
|
| 68 | + [$overrideInventoriedSku, false], // Set by ROM to be inventoried, but overridden by manage-stock flag |
|
| 69 | + [$inventoriedChildSku, false], // Set by ROM to be inventoried, but has parent, so no check |
|
| 70 | 70 | [$childInventoriesParentSku, true], // Set by ROM to not be inventoried, but child forces it. |
| 71 | 71 | ]; |
| 72 | 72 | } |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | public function testUnknownProp() |
| 175 | 175 | { |
| 176 | 176 | // ensure code execution continues after the error is triggered |
| 177 | - $handler = set_error_handler(function () { |
|
| 177 | + $handler = set_error_handler(function() { |
|
| 178 | 178 | }); |
| 179 | 179 | $config = Mage::getModel('eb2ccore/config_registry'); |
| 180 | 180 | $nonexistent = $config->nonexistentConfig; |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | */ |
| 200 | 200 | public function testAllPropsReadonly() |
| 201 | 201 | { |
| 202 | - $handler = set_error_handler(function () { |
|
| 202 | + $handler = set_error_handler(function() { |
|
| 203 | 203 | }); |
| 204 | 204 | $config = Mage::getModel('eb2ccore/config_registry') |
| 205 | 205 | ->addConfigModel($this->_createConfigStub()); |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -117,26 +117,26 @@ |
||
| 117 | 117 | { |
| 118 | 118 | return [ |
| 119 | 119 | [ |
| 120 | - Mage::getModel('sales/quote_item', ['base_row_total' => 88.00,]), |
|
| 121 | - new Varien_Object(['base_discount_amount' => 250.00,]), |
|
| 120 | + Mage::getModel('sales/quote_item', ['base_row_total' => 88.00, ]), |
|
| 121 | + new Varien_Object(['base_discount_amount' => 250.00, ]), |
|
| 122 | 122 | [['amount' => 8.80]], |
| 123 | 123 | 79.20 |
| 124 | 124 | ], |
| 125 | 125 | [ |
| 126 | - Mage::getModel('sales/quote_item', ['base_row_total' => 88.00,]), |
|
| 127 | - new Varien_Object(['base_discount_amount' => 100.00,]), |
|
| 126 | + Mage::getModel('sales/quote_item', ['base_row_total' => 88.00, ]), |
|
| 127 | + new Varien_Object(['base_discount_amount' => 100.00, ]), |
|
| 128 | 128 | [['amount' => 8.80], ['amount' => 79.20]], |
| 129 | 129 | 0.00 |
| 130 | 130 | ], |
| 131 | 131 | [ |
| 132 | - Mage::getModel('sales/quote_item', ['base_row_total' => 88.00,]), |
|
| 133 | - new Varien_Object(['base_discount_amount' => 3.96,]), |
|
| 132 | + Mage::getModel('sales/quote_item', ['base_row_total' => 88.00, ]), |
|
| 133 | + new Varien_Object(['base_discount_amount' => 3.96, ]), |
|
| 134 | 134 | [['amount' => 8.80]], |
| 135 | 135 | 3.96 |
| 136 | 136 | ], |
| 137 | 137 | [ |
| 138 | - Mage::getModel('sales/quote_item', ['base_row_total' => 88.00,]), |
|
| 139 | - new Varien_Object(['base_discount_amount' => 11.88,]), |
|
| 138 | + Mage::getModel('sales/quote_item', ['base_row_total' => 88.00, ]), |
|
| 139 | + new Varien_Object(['base_discount_amount' => 11.88, ]), |
|
| 140 | 140 | [['amount' => 8.80]], |
| 141 | 141 | 11.88 |
| 142 | 142 | ], |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * there's been a change so we return true on 'isValueChanged'. |
| 30 | 30 | */ |
| 31 | 31 | $backendMock = $this->getModelMockBuilder('eb2ccore/system_config_backend_language_code') |
| 32 | - ->setMethods(array( 'isValueChanged',)) |
|
| 32 | + ->setMethods(array('isValueChanged',)) |
|
| 33 | 33 | ->setConstructorArgs([['language_helper' => $mockLangHelper]]) |
| 34 | 34 | ->getMock(); |
| 35 | 35 | $backendMock->expects($this->once()) |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | ->will($this->returnArgument(0)); |
| 55 | 55 | |
| 56 | 56 | $backendMock = $this->getModelMockBuilder('eb2ccore/system_config_backend_language_code') |
| 57 | - ->setMethods(array( 'isValueChanged',)) |
|
| 57 | + ->setMethods(array('isValueChanged',)) |
|
| 58 | 58 | ->setConstructorArgs([['language_helper' => $mockLangHelper, 'core_helper' => $mockCoreHelper]]) |
| 59 | 59 | ->getMock(); |
| 60 | 60 | $backendMock->expects($this->once()) |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function _afterLoad() |
| 28 | 28 | { |
| 29 | - $filePattern = Mage::getBaseDir() . '/js/ebayenterprise_eb2cfraud/*.js'; |
|
| 29 | + $filePattern = Mage::getBaseDir() . '/js/ebayenterprise_eb2cfraud/*.js'; |
|
| 30 | 30 | $jsFiles = glob($filePattern); |
| 31 | 31 | if (!$jsFiles) { |
| 32 | 32 | $publicDisplay = 'Not installed; fraud information will not be collected'; |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -22,23 +22,23 @@ |
||
| 22 | 22 | $installer->startSetup(); |
| 23 | 23 | $entities = array('order', 'quote'); |
| 24 | 24 | |
| 25 | -$typeTextOptions = array ( |
|
| 25 | +$typeTextOptions = array( |
|
| 26 | 26 | 'type' => Varien_Db_Ddl_Table::TYPE_TEXT, |
| 27 | 27 | 'visible' => true, |
| 28 | 28 | 'required' => false, |
| 29 | 29 | ); |
| 30 | 30 | |
| 31 | 31 | $fraudAttributes = array( |
| 32 | - array( 'name' => 'char_set', 'options' => $typeTextOptions), |
|
| 33 | - array( 'name' => 'content_types', 'options' => $typeTextOptions), |
|
| 34 | - array( 'name' => 'encoding', 'options' => $typeTextOptions), |
|
| 35 | - array( 'name' => 'host_name', 'options' => $typeTextOptions), |
|
| 36 | - array( 'name' => 'ip_address', 'options' => $typeTextOptions), |
|
| 37 | - array( 'name' => 'javascript_data', 'options' => $typeTextOptions), |
|
| 38 | - array( 'name' => 'language', 'options' => $typeTextOptions), |
|
| 39 | - array( 'name' => 'referrer', 'options' => $typeTextOptions), |
|
| 40 | - array( 'name' => 'session_id', 'options' => $typeTextOptions), |
|
| 41 | - array( 'name' => 'user_agent', 'options' => $typeTextOptions), |
|
| 32 | + array('name' => 'char_set', 'options' => $typeTextOptions), |
|
| 33 | + array('name' => 'content_types', 'options' => $typeTextOptions), |
|
| 34 | + array('name' => 'encoding', 'options' => $typeTextOptions), |
|
| 35 | + array('name' => 'host_name', 'options' => $typeTextOptions), |
|
| 36 | + array('name' => 'ip_address', 'options' => $typeTextOptions), |
|
| 37 | + array('name' => 'javascript_data', 'options' => $typeTextOptions), |
|
| 38 | + array('name' => 'language', 'options' => $typeTextOptions), |
|
| 39 | + array('name' => 'referrer', 'options' => $typeTextOptions), |
|
| 40 | + array('name' => 'session_id', 'options' => $typeTextOptions), |
|
| 41 | + array('name' => 'user_agent', 'options' => $typeTextOptions), |
|
| 42 | 42 | ); |
| 43 | 43 | |
| 44 | 44 | $pfx = 'eb2c_fraud_'; |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
| 17 | 17 | |
@@ -193,7 +193,7 @@ |
||
| 193 | 193 | $cardNumbers = ['1234', '2345', '3456', '4567']; |
| 194 | 194 | |
| 195 | 195 | $giftCards = array_map( |
| 196 | - function ($cardNumber) { |
|
| 196 | + function($cardNumber) { |
|
| 197 | 197 | return Mage::getModel('ebayenterprise_giftcard/giftcard')->setCardNumber($cardNumber)->setPin('1234'); |
| 198 | 198 | }, |
| 199 | 199 | $cardNumbers |
@@ -1,17 +1,17 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | - * |
|
| 5 | - * NOTICE OF LICENSE |
|
| 6 | - * |
|
| 7 | - * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | - * that is bundled with this package in the file LICENSE.md. |
|
| 9 | - * It is also available through the world-wide-web at this URL: |
|
| 10 | - * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | - * |
|
| 12 | - * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | - */ |
|
| 3 | + * Copyright (c) 2013-2014 eBay Enterprise, Inc. |
|
| 4 | + * |
|
| 5 | + * NOTICE OF LICENSE |
|
| 6 | + * |
|
| 7 | + * This source file is subject to the Open Software License (OSL 3.0) |
|
| 8 | + * that is bundled with this package in the file LICENSE.md. |
|
| 9 | + * It is also available through the world-wide-web at this URL: |
|
| 10 | + * http://opensource.org/licenses/osl-3.0.php |
|
| 11 | + * |
|
| 12 | + * @copyright Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/) |
|
| 13 | + * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
|
| 14 | + */ |
|
| 15 | 15 | |
| 16 | 16 | class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case |
| 17 | 17 | { |