From 84e6fa8e2a9d84a2fe7bc6c7657093c6df71ebb1 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 24 Sep 2014 19:02:23 +0200 Subject: [PATCH] Geolocation: use test key for tests. Mozilla provide a test key (with usage restrictions) for testing purpose. Make use of it in our unit tests. --- src/tests/kits/net/service/GeolocationTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tests/kits/net/service/GeolocationTest.cpp b/src/tests/kits/net/service/GeolocationTest.cpp index 8863b865ab..a7907f42a0 100644 --- a/src/tests/kits/net/service/GeolocationTest.cpp +++ b/src/tests/kits/net/service/GeolocationTest.cpp @@ -20,7 +20,8 @@ GeolocationTest::GeolocationTest() void GeolocationTest::TestLocateSelf() { - BGeolocation locator; + BGeolocation locator(BUrl( + "https://location.services.mozilla.com/v1/geolocate?key=test")); float latitude, longitude; status_t result = locator.LocateSelf(latitude, longitude);