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
6565 */
6666 public function testGetListReturnsTheListOfActiveCheckoutAgreements ()
6767 {
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.. ' );
7170 $ agreementModel = $ this ->getAgreementByName ('Checkout Agreement (active) ' );
7271
7372 $ agreements = $ this ->_webApiCall ($ this ->listServiceInfo , []);
Original file line number Diff line number Diff line change @@ -102,9 +102,8 @@ public function testGetForMyCart()
102102 */
103103 public function testSave ()
104104 {
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.. ' );
108107 /** @var \Magento\Quote\Model\Quote $quote */
109108 $ quote = $ this ->objectManager ->create (\Magento \Quote \Model \Quote::class);
110109 $ quote ->load ('test_order_item_with_message ' , 'reserved_order_id ' );
@@ -155,9 +154,8 @@ public function testSaveForMyCart()
155154 );
156155 $ token = $ customerTokenService ->createCustomerAccessToken ('customer@example.com ' , 'password ' );
157156
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.. ' );
161159
162160 $ serviceInfo = [
163161 'rest ' => [
Original file line number Diff line number Diff line change @@ -73,9 +73,8 @@ public function testGet()
7373 */
7474 public function testSave ()
7575 {
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.. ' );
7978 /** @var \Magento\Quote\Model\Quote $quote */
8079 $ quote = $ this ->objectManager ->create (\Magento \Quote \Model \Quote::class);
8180 $ 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()
7474
7575 /**
7676 * @magentoApiDataFixture Magento/GiftMessage/_files/quote_with_item_message.php
77+ * @magentoConfigFixture default_store sales/gift_options/allow_items 1
7778 */
7879 public function testSave ()
7980 {
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+
8282 $ this ->markTestSkipped ('This test relies on system configuration state. ' );
83+
8384 /** @var \Magento\Quote\Model\Quote $quote */
8485 $ quote = $ this ->objectManager ->create (\Magento \Quote \Model \Quote::class);
8586 $ 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()
112112 */
113113 public function testSave ()
114114 {
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.. ' );
118117 /** @var \Magento\Quote\Model\Quote $quote */
119118 $ quote = $ this ->objectManager ->create (\Magento \Quote \Model \Quote::class);
120119 $ quote ->load ('test_order_item_with_message ' , 'reserved_order_id ' );
You can’t perform that action at this time.
0 commit comments