boomerdigital / solidus_avatax_certified

Improve your Solidus store's sales tax decision automation with Avalara AvaTax
BSD 3-Clause "New" or "Revised" License
9 stars 44 forks source link

Fix usage of raise_error without an exception class #141

Closed aldesantis closed 5 years ago

aldesantis commented 5 years ago

Using raise_error without passing an exception class or message is dangerous because it effectively swallows all errors, making the test pass. Instead, we should listen for the specific exception we expect the code to raise.