adsabs / adsws

ADS web services
Other
2 stars 15 forks source link

changed 2 messages to errors #46

Closed aholachek closed 9 years ago

vsudilov commented 9 years ago

can't merge till tests pass; seems like an easy fix though -- want to go ahead and do that?

vsudilov commented 9 years ago

the behavior of the backend is slightly different if there is no token or no client for the TokenView. One is a 200 response (no client = they have never pressed get token button, and its expected), the other is 500 (the button was pressed, but for some reason we lost the token).

It seems you changed the test for the former with the expected output from the latter -- does that make sense?