TwitterAPI: Use correct endpoint for tag timeline.
This commit is contained in:
parent
6877d7aaad
commit
6d5bd4dcc0
|
@ -120,7 +120,7 @@ def user_fetcher(username) do
|
|||
end
|
||||
|
||||
get "/search", TwitterAPI.Controller, :search
|
||||
get "/statusnet/tags/:tag", TwitterAPI.Controller, :public_and_external_timeline
|
||||
get "/statusnet/tags/timeline/:tag", TwitterAPI.Controller, :public_and_external_timeline
|
||||
get "/externalprofile/show", TwitterAPI.Controller, :external_profile
|
||||
end
|
||||
|
||||
|
|
|
@ -500,7 +500,7 @@ test "it returns the tags timeline" do
|
|||
{:ok, _} = CommonAPI.post(user_two, %{"status" => "This isn't"})
|
||||
|
||||
conn = conn
|
||||
|> get("/api/statusnet/tags/2hu.json")
|
||||
|> get("/api/statusnet/tags/timeline/2hu.json")
|
||||
|
||||
assert [status] = json_response(conn, 200)
|
||||
assert status["id"] == activity.id
|
||||
|
|
Loading…
Reference in a new issue