Closed toh82 closed 8 years ago
@toh82 I’ve adjusted your test. The integration test was mocking internal methods, but for integration tests you don’t want to do that, that’s something you do in unit tests to test the methods in isolation. I’ve also fixed the unit tests we have for account.fetch
and account.profile.fetch
.
Does that all make sense?
@gr2m well, currently i have no idea about your script but it's totally fine i think, as long as it fails if "undefined" is a part of the url, I'm fine. Donno which test is better because of lack of experience in writing tests ;)
helps with #64