Skip to content

Commit e6e0d73

Browse files
committed
MAGETWO-97196: Automate with Integration test Verify Email functionality for order
1 parent 6ed9586 commit e6e0d73

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dev/tests/integration/testsuite/Magento/Sales/Controller/Adminhtml/Order/Invoice/SaveTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
2-
declare(strict_types=1);
3-
42
/**
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/
6+
declare(strict_types=1);
7+
88
namespace Magento\Sales\Controller\Adminhtml\Order\Invoice;
99

1010
use PHPUnit\Framework\Constraint\StringContains;

dev/tests/integration/testsuite/Magento/Sales/Model/Order/CreateTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<?php
2-
declare(strict_types=1);
3-
42
/**
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/
6+
declare(strict_types=1);
87

98
namespace Magento\Sales\Model\Order;
109

dev/tests/integration/testsuite/Magento/Sales/_files/guest_quote_with_addresses.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
\Magento\TestFramework\Helper\Bootstrap::getInstance()->loadArea('frontend');
1111

1212
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
13+
/** @var \Magento\Catalog\Model\Product $product */
1314
$product = $objectManager->create(\Magento\Catalog\Model\Product::class);
1415
$product->setTypeId('simple')
15-
->setAttributeSetId(4)
16+
->setAttributeSetId($product->getDefaultAttributeSetId())
1617
->setName('Simple Product')
1718
->setSku('simple-product-guest-quote')
1819
->setPrice(10)

0 commit comments

Comments
 (0)