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.
This commit is contained in:
parent
8a39d53d23
commit
84e6fa8e2a
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user