• andrefsp@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    3 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.