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

Unable to mock BranchProtection calls due to missing ctor on EnforceAdmins response class #1678

Closed
ryangribble opened this issue Sep 11, 2017 · 0 comments

Comments

@ryangribble
Copy link
Contributor

While writing tests for an API that uses Octokit I was unable to mock out the BranchProtection responses, as EnforceAdmins has no ctor that allows the response object to be created with the desired fields.

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

No branches or pull requests

1 participant