andrefsp

joined 2 years ago
[–] andrefsp@lemmy.world 10 points 5 days ago* (last edited 4 days ago)

I had a similar one at a past work too. A test which was asserting a response status 500.

Like, instead of the test asserting the correct error/status code was being returned, it was instead asserting any error would simply getting masked as a 500.

Basically, asserting the code was buggy....

That made me angry a couple of times but I still miss that place sometimes.