Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

magento/graphql-ce#1009: [Test Coverage] Cover exception in SalesGraphQl\Model\Resolver\Orders #1028

Merged
merged 1 commit into from
Oct 31, 2019

Conversation

atwixfirster
Copy link
Contributor

Description (*)

Pull request fixes #1009 [Test Coverage] Cover exception in SalesGraphQl\Model\Resolver\Orders issue.

Fixed Issues (if relevant)

  1. Invoice increment id uses wrong entity type magento2#1009: [Test Coverage] Cover exception in SalesGraphQl\Model\Resolver\Orders

Manual testing scenarios (*)

  1. ...
  2. ...

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Thank you!

Copy link
Contributor

@lenaorobei lenaorobei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe \Magento\GraphQl\Sales\OrdersTest is better place for this test.
Please consider renaming it as well. For example to testOrdersQueryNotAuthorized.

@atwixfirster
Copy link
Contributor Author

I believe \Magento\GraphQl\Sales\OrdersTest is better place for this test.
Please consider renaming it as well. For example to testOrdersQueryNotAuthorized.

done @lenaorobei

Thanks

@atwixfirster atwixfirster force-pushed the 1009-test-coverage-CustomerOrders branch from d035bc6 to 7b345f0 Compare October 23, 2019 14:52
@magento-engcom-team
Copy link
Contributor

Hi @lenaorobei, thank you for the review.
ENGCOM-6160 has been created to process this Pull Request
✳️ @lenaorobei, could you please add one of the following labels to the Pull Request?

Label Description
Auto-Tests: Covered All changes in Pull Request is covered by auto-tests
Auto-Tests: Not Covered Changes in Pull Request requires coverage by auto-tests
Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests

@ghost
Copy link

ghost commented Oct 31, 2019

Hi @atwixfirster, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@okorshenko okorshenko deleted the 1009-test-coverage-CustomerOrders branch December 18, 2019 22:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Test Coverage] Cover exception in SalesGraphQl\Model\Resolver\Orders
3 participants