Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
added some tests; setup being able to mock httpclient in tests #9
I didn't add a whole lot of tests, but if you like the direction of the PR, I could always add more before you merge it. I pulled in the
I tried to keep all the changes in the test project. The only change to the pinboard.net project was to make PinboardAPI accept an
Let me know if you'd like anything changed in this. I used to have a pinboard account, but no more, so I don't have an auth token to verify my expectations are correct, but according to what I see in the api docs I'm fairly certain I got it right.