-
Notifications
You must be signed in to change notification settings - Fork 153
Mark config fixtures as deprecated #800
Mark config fixtures as deprecated #800
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please refer to the original issue.
AC is following:
- Fixtures with reference Add support for '@magentoConfigFixture' annotation on API-functional tests #167 to are marked as deprecated (TODOs should be removed)
- Explanatory comment about @magentoConfigFixture annotation is added (after the deprecated tag).
So it should look like@deprecated use @magentoConfigFixture instead
. - No tests are using deprecated fixtures.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove all TODOs
, check all fixtures occurrences in tests and replace with config fixtures.
@@ -3,6 +3,12 @@ | |||
* Copyright © Magento, Inc. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found the use of this file in \Magento\GraphQl\AuthorizenetAcceptjs\Customer\SetPaymentMethodTest::testPlaceOrder
. It needs to be replaced with @magentoConfigFixture
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
* @magentoConfigFixture default_store payment/checkmo/active 0 | ||
* @magentoConfigFixture default_store payment/free/active 0 | ||
* | ||
*/ | ||
// TODO: Should be removed in scope of https://github.com/magento/graphql-ce/issues/167 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All TODOs
should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Hi @lenaorobei, thank you for the review.
|
Hi @XxXgeoXxX, thank you for your contribution! |
Description (*)
Original issue #794
Contribution checklist (*)