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

MockDefaultValueProvider does not support Task<T> results #87

Closed
rickykaare opened this issue Jan 28, 2014 · 1 comment
Closed

MockDefaultValueProvider does not support Task<T> results #87

rickykaare opened this issue Jan 28, 2014 · 1 comment

Comments

@rickykaare
Copy link

When using the MockDefaultValueProvider, methods with a return type of Task will get an empty Task (provided by the EmptyDefaultValueProvider) as the default value.

Expected behavior is to return a mock wrapped in a completed Task.

Related to #73

@stakx
Copy link
Contributor

stakx commented Jun 11, 2017

Thank you for reporting this! Issue #171 covers the same ground but has a slightly wider scope, so I'll close this issue in favor of #171.

@stakx stakx closed this as completed Jun 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants