[openstreetmap/openstreetmap-website] Allow admins and moderators to delete traces (#1734)
Andy Allan
notifications at github.com
Fri Feb 23 01:39:02 UTC 2018
As far as I can see, you're now trying to delete the same trace twice. So it gets deleted by the user who owns it, and then when you try deleting it again as an administrator, you get a 404 response.
You could create a separate test case for deleting the trace as an admin user, that would be one way to solve the problem.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1734#issuecomment-367882313
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180223/e92c661d/attachment.html>
More information about the rails-dev
mailing list