File tree Expand file tree Collapse file tree 5 files changed +13
-17
lines changed
dev/tests/api-functional/testsuite/Magento Expand file tree Collapse file tree 5 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,8 @@ public function testGetListReturnsEmptyListIfCheckoutAgreementsAreDisabledOnFron
65
65
*/
66
66
public function testGetListReturnsTheListOfActiveCheckoutAgreements ()
67
67
{
68
- // checkout/options/enable_agreements must be set to 1 in system configuration
69
- // @todo remove next statement when \Magento\TestFramework\TestCase\WebapiAbstract::_updateAppConfig is fixed
70
- $ this ->markTestSkipped ('This test relies on system configuration state. ' );
68
+
69
+ $ this ->markTestSkipped ('This test relies on system configuration state.. ' );
71
70
$ agreementModel = $ this ->getAgreementByName ('Checkout Agreement (active) ' );
72
71
73
72
$ agreements = $ this ->_webApiCall ($ this ->listServiceInfo , []);
Original file line number Diff line number Diff line change @@ -102,9 +102,8 @@ public function testGetForMyCart()
102
102
*/
103
103
public function testSave ()
104
104
{
105
- // sales/gift_options/allow_order must be set to 1 in system configuration
106
- // @todo remove next statement when \Magento\TestFramework\TestCase\WebapiAbstract::_updateAppConfig is fixed
107
- $ this ->markTestSkipped ('This test relies on system configuration state. ' );
105
+
106
+ $ this ->markTestSkipped ('This test relies on system configuration state.. ' );
108
107
/** @var \Magento\Quote\Model\Quote $quote */
109
108
$ quote = $ this ->objectManager ->create (\Magento \Quote \Model \Quote::class);
110
109
$ quote ->load ('test_order_item_with_message ' , 'reserved_order_id ' );
@@ -155,9 +154,8 @@ public function testSaveForMyCart()
155
154
);
156
155
$ token =
$ customerTokenService->
createCustomerAccessToken (
'[email protected] ' ,
'password ' );
157
156
158
- // sales/gift_options/allow_order must be set to 1 in system configuration
159
- // @todo remove next statement when \Magento\TestFramework\TestCase\WebapiAbstract::_updateAppConfig is fixed
160
- $ this ->markTestSkipped ('This test relies on system configuration state. ' );
157
+
158
+ $ this ->markTestSkipped ('This test relies on system configuration state.. ' );
161
159
162
160
$ serviceInfo = [
163
161
'rest ' => [
Original file line number Diff line number Diff line change @@ -73,9 +73,8 @@ public function testGet()
73
73
*/
74
74
public function testSave ()
75
75
{
76
- // sales/gift_options/allow_order must be set to 1 in system configuration
77
- // @todo remove next statement when \Magento\TestFramework\TestCase\WebapiAbstract::_updateAppConfig is fixed
78
- $ this ->markTestSkipped ('This test relies on system configuration state. ' );
76
+
77
+ $ this ->markTestSkipped ('This test relies on system configuration state.. ' );
79
78
/** @var \Magento\Quote\Model\Quote $quote */
80
79
$ quote = $ this ->objectManager ->create (\Magento \Quote \Model \Quote::class);
81
80
$ quote ->load ('test_order_item_with_message ' , 'reserved_order_id ' );
Original file line number Diff line number Diff line change @@ -74,12 +74,13 @@ public function testGet()
74
74
75
75
/**
76
76
* @magentoApiDataFixture Magento/GiftMessage/_files/quote_with_item_message.php
77
+ * @magentoConfigFixture default_store sales/gift_options/allow_items 1
77
78
*/
78
79
public function testSave ()
79
80
{
80
- // sales/gift_options/allow_items must be set to 1 in system configuration
81
- // @todo remove next statement when \Magento\TestFramework\TestCase\WebapiAbstract::_updateAppConfig is fixed
81
+
82
82
$ this ->markTestSkipped ('This test relies on system configuration state. ' );
83
+
83
84
/** @var \Magento\Quote\Model\Quote $quote */
84
85
$ quote = $ this ->objectManager ->create (\Magento \Quote \Model \Quote::class);
85
86
$ quote ->load ('test_order_item_with_message ' , 'reserved_order_id ' );
Original file line number Diff line number Diff line change @@ -112,9 +112,8 @@ public function testGetForMyCart()
112
112
*/
113
113
public function testSave ()
114
114
{
115
- // sales/gift_options/allow_items must be set to 1 in system configuration
116
- // @todo remove next statement when \Magento\TestFramework\TestCase\WebapiAbstract::_updateAppConfig is fixed
117
- $ this ->markTestSkipped ('This test relies on system configuration state. ' );
115
+
116
+ $ this ->markTestSkipped ('This test relies on system configuration state.. ' );
118
117
/** @var \Magento\Quote\Model\Quote $quote */
119
118
$ quote = $ this ->objectManager ->create (\Magento \Quote \Model \Quote::class);
120
119
$ quote ->load ('test_order_item_with_message ' , 'reserved_order_id ' );
You can’t perform that action at this time.
0 commit comments