The code checks if the response isSuccess but then changes the log message to that the response is failed. This is likely a missing negation in the test.
Note: this is from reading the code, I did not perform actual tests on the before and after situation.
The code checks if the response
isSuccess
but then changes the log message to that the response is failed. This is likely a missing negation in the test.Note: this is from reading the code, I did not perform actual tests on the before and after situation.