I'm working on a project with an old ring version (1.1.8) that I would like to try to upgrade to a more recent version (1.5.0). I updated the dependencies, and when I test my application with a browser, it works fine.
But, when I try to run unit tests, some of them now fail. Specifically, the ones that are passing parameters as x-www-form-urlencoded are not present within :params anymore. While at the same time, the same endpoints works fine through a real browser (I run `lein ring server-headless` to spin a test server).
I played a bit with versions of ring-core dependency, and was able to figure out that something between versions 1.2.2 and 1.3.0 changed and made those unit tests fail. With 1.2.2 they run fine, and as soon as I switch to 1.3.0 (that's the only change), some unit tests fails.
Does that ring a bell to someone?
Any advices on how I could try to figure out what's going on?
Thanks in advance,