Merge pull request #4610 from AntonKhorev/no-old-note-api

Remove old note api endpoints
This commit is contained in:
Andy Allan 2024-06-26 14:17:39 +01:00 committed by GitHub
commit 7f3cb3c624
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 27 deletions

View file

@ -99,27 +99,6 @@ module Api
{ :path => "/api/0.6/notes/feed", :method => :get },
{ :controller => "api/notes", :action => "feed", :format => "rss" }
)
assert_recognizes(
{ :controller => "api/notes", :action => "create" },
{ :path => "/api/0.6/notes/addPOIexec", :method => :post }
)
assert_recognizes(
{ :controller => "api/notes", :action => "close" },
{ :path => "/api/0.6/notes/closePOIexec", :method => :post }
)
assert_recognizes(
{ :controller => "api/notes", :action => "comment" },
{ :path => "/api/0.6/notes/editPOIexec", :method => :post }
)
assert_recognizes(
{ :controller => "api/notes", :action => "index", :format => "gpx" },
{ :path => "/api/0.6/notes/getGPX", :method => :get }
)
assert_recognizes(
{ :controller => "api/notes", :action => "feed", :format => "rss" },
{ :path => "/api/0.6/notes/getRSSfeed", :method => :get }
)
end
def test_create_success