Skip to content

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