mirror of
https://github.com/mpolden/echoip.git
synced 2025-01-26 09:55:02 +01:00
Test /coordinates
This commit is contained in:
parent
3e1d4425cd
commit
823af68923
@ -67,6 +67,7 @@ func TestCLIHandlers(t *testing.T) {
|
||||
{s.URL + "/ip", "127.0.0.1\n", 200, "", ""},
|
||||
{s.URL + "/country", "Elbonia\n", 200, "", ""},
|
||||
{s.URL + "/country-iso", "EB\n", 200, "", ""},
|
||||
{s.URL + "/coordinates", "63.416667,10.416667\n", 200, "", ""},
|
||||
{s.URL + "/city", "Bornyasherk\n", 200, "", ""},
|
||||
{s.URL + "/foo", "404 page not found", 404, "", ""},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user