ILya-Lev / CountingKs

training solution for some web api
0 stars 0 forks source link

Diary entry Delete method is not working #1

Open ILya-Lev opened 6 years ago

ILya-Lev commented 6 years ago

execute (e.g. using curl): curl /api/user/diaries/2018-03-05/entries/17 -v -X delete

response message is 200 and "Data entry was deleted"

while it is not symptoms: execute the call again - 200 is a result; while should be 404 request for all diary entries for this diary - there will be an entry with the same id or invalid operation exception is thrown (if called in the same run as delete method)

ILya-Lev commented 6 years ago

double check this please, seems to be already working as required