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

Updated tests to reflect the use of RequestManagerRestSharp over RequestManager. #11

Open
wants to merge 3 commits into
base: Develop
Choose a base branch
from

Conversation

cofl
Copy link

@cofl cofl commented Jul 23, 2018

The use of RequestManagerRestSharp in SnipeItApi was causing the tests CheckApiTokenAndUrl_SetAuthorizationHeader_SetCorrectly and CheckApiTokenAndUrl_SetHttpClientBaseAddress_SetCorrectly to fail with NullReferenceExceptions.

I updated the tests to reflect the use of the new class, and added internals visibility on the main assembly to the test assembly, to limit how much reflection we need to do.

@cofl cofl closed this Aug 7, 2018
@cofl cofl deleted the tests branch August 7, 2018 19:14
@cofl cofl restored the tests branch August 7, 2018 19:14
@cofl cofl reopened this Aug 7, 2018
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

Successfully merging this pull request may close these issues.

2 participants