Fixing the broken tests

If we run our tests right now, we're not going to see very promising results. In the process of us changing our function signatures around, we also ended up breaking a good portion of our test suite, and that's going to make development and debugging other issues significantly more difficult over time!

$ mix test...Finished in 11.7 seconds41 tests, 15 failuresRandomized with seed 60247

We're going to want to go in and start cleaning up a lot of these broken tests as we go along, since if we leave them broken, it is going to be increasingly difficult for us to understand when we're introducing code-breaking changes or not! Generally speaking, when I have a large broken test suite, I try to make my life easier by just ...

Get Phoenix Web Development now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.