#how do i test a NOT_FOUND case

3 messages · Page 1 of 1 (latest)

tranquil fiber
#

that indicates either your test assumptions are wrong (the entity exists and is properly deleted) or your backend returns the wrong status

#

in both cases you're deleting the same id, so it is expected that you get the same result in both cases

tranquil shuttle
#

ugh, im pretty new to unit testing i dont get it :c