Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert Test Data for odo #72

Closed

Conversation

maysunfaisal
Copy link
Member

Signed-off-by: Maysun J Faisal maysunaneek@gmail.com

What does this PR do?

This PR reverts the Test struct and mock funcs as odo is using them. Pls refer to odo PR comment redhat-developer/odo#4465 (comment) for discussion

we should discuss and think about the possibility of replacing these with go mock in the future since the interface is in devfile/library and the consequences for the consumers of devfile/library

What issues does this PR fix or reference?

reverts back part of the changes made by #62

Is your PR tested? Consider putting some instruction how to test your changes

yes, updated one of the generator tests to use TestDevfileData to ensure all mock func are implemented as previously

Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
Copy link
Collaborator

@yangcao77 yangcao77 left a comment

Choose a reason for hiding this comment

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

lgtm. reverting the change to unblock odo

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: maysunfaisal, yangcao77

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [maysunfaisal,yangcao77]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@maysunfaisal
Copy link
Member Author

Closing, as its better to just move forwards and try to get gomock for mocking rather than reverting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants