Open jpslav opened 9 years ago
We check it because the server checks it. Has that been removed?
We want the fake and real clients to behave as identically as possible.
I made it a little more lenient for convenience. The fake client will accept anything ending in openstax.org or localhost.
https://github.com/openstax/exchange-ruby/blob/master/lib/openstax/exchange/fake_client/fake_client.rb#L55
In some test data I had a different URL, and this blew up. I don't know why we really need to check this.