Skip to content

Middleware and test for Redmine REST API

François Perrad requested to merge Keen13:master into master

Created by: Keen13

Auth.Redmine is authorization middleware, that makes authorization on Redmine using API key a little simpler.

As for test (61-redmine_api.t) - I'm not sure whether it should be included into lua-Spore. Firts of all, it tests Redmine API rather than lua-Spore functionality. Or one could say, it tests that lua-Spore supports Redmine API correctly. Also, it requires authorization, so you need to provide valid Redmine server and API key, you can't just use anonymous access. The test won't run without these params. So it doesn't conform to the idea of your tests. But will it be useful? Where should tests like this go? Your opinion would be highly appreciated.

Merge request reports