akamsteeg / AtleX.HaveIBeenPwned

A fully async .NET Standard client library for the API of HaveIBeenPwned.com
https://www.nuget.org/packages/AtleX.HaveIBeenPwned/
MIT License
5 stars 0 forks source link

.ToString() unit tests on domain models don't actually call .ToString() #105

Closed akamsteeg closed 3 months ago

akamsteeg commented 3 months ago

The tests for .ToString() on Breach, DomainUser, Paste, SiteBreach and SubscribedDomain don't actually call the .ToString() methods. This is wrong and creates a false sense of security.