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);