File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
dev/tests/integration/testsuite/Magento/Sales
Controller/Adminhtml/Order/Invoice Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 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+
88namespace Magento \Sales \Controller \Adminhtml \Order \Invoice ;
99
1010use PHPUnit \Framework \Constraint \StringContains ;
Original file line number Diff line number Diff line change 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
98namespace Magento \Sales \Model \Order ;
109
Original file line number Diff line number Diff line change 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 )
You can’t perform that action at this time.
0 commit comments